Skip to main content
Log in

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.