Skip to main content
Log in

Mojo function

mbarrier_arrive

mbarrier_arrive[type: AnyType](shared_mem: UnsafePointer[type, address_space=3, alignment=alignment, mut=mut, origin=origin]) -> Int

Commits the arrival of thead to a shared memory barrier.

Args:

  • shared_mem (UnsafePointer[type, address_space=3, alignment=alignment, mut=mut, origin=origin]): Shared memory barrier.

Returns:

An Int64 value representing the state of the memory barrier.