Mojo function
mbarrier
mbarrier[type: AnyType, address_space: AddressSpace](address: UnsafePointer[type, address_space=address_space, alignment=alignment, mut=mut, origin=origin])
Makes the mbarrier object track all prior copy async operations initiated by the executing thread.
Args:
- address (
UnsafePointer[type, address_space=address_space, alignment=alignment, mut=mut, origin=origin]
): The mbarrier object is at the location.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!