|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Shared doorbell for waking consumer. More...
#include <mpsc_shm.hpp>
Public Attributes | |
| std::atomic< uint32_t > | seq |
| std::array< uint8_t, 60 > | _pad0 |
| std::atomic< bool > | consumer_blocked |
| std::array< uint8_t, 63 > | _pad1 |
Shared doorbell for waking consumer.
Producers ring this when publishing data to wake the sleeping consumer. Carefully aligned to avoid false sharing between producer and consumer.
Definition at line 26 of file mpsc_shm.hpp.
| std::array<uint8_t, 60> bb::ipc::MpscDoorbell::_pad0 |
Definition at line 29 of file mpsc_shm.hpp.
| std::array<uint8_t, 63> bb::ipc::MpscDoorbell::_pad1 |
Definition at line 33 of file mpsc_shm.hpp.
| std::atomic<bool> bb::ipc::MpscDoorbell::consumer_blocked |
Definition at line 32 of file mpsc_shm.hpp.
| std::atomic<uint32_t> bb::ipc::MpscDoorbell::seq |
Definition at line 28 of file mpsc_shm.hpp.