Retrieve the outbox state from memory shared between processes.
| 121 | |
| 122 | /// Retrieve the outbox state from memory shared between processes. |
| 123 | RPC_ATTRS uint32_t load_outbox(uint64_t lane_mask, uint32_t index) const { |
| 124 | return rpc::broadcast_value( |
| 125 | lane_mask, __scoped_atomic_load_n(&outbox[index], __ATOMIC_RELAXED, |
| 126 | __MEMORY_SCOPE_SYSTEM)); |
| 127 | } |
| 128 | |
| 129 | /// Signal to the other process that this one is finished with the buffer. |
| 130 | /// Equivalent to loading outbox followed by store of the inverted value |
no test coverage detected