Skip to main content
Log in

Mojo function

mbarrier_arrive_expect_tx_shared

mbarrier_arrive_expect_tx_shared[type: AnyType](addr: UnsafePointer[type, address_space=3, alignment=alignment, mut=mut, origin=origin], tx_count: SIMD[int32, 1])

Performs an expect-tx operation on shared memory barrier.

This makes the current phase of the mbarrier object to expect and track the completion of additional asynchronous transactions.

Args:

  • addr (UnsafePointer[type, address_space=3, alignment=alignment, mut=mut, origin=origin]): Shared memory barrier address.
  • tx_count (SIMD[int32, 1]): Number of element to the expect-tx operatio.