qb
2.0.0.0
C++17 Actor Framework
|
A structure aligned to event bucket boundaries, typically matching cache line size. More...
#include <prefix.h>
Public Attributes | |
uint32_t | __raw__ [QB_LOCKFREE_EVENT_BUCKET_BYTES/sizeof(uint32_t)] |
A structure aligned to event bucket boundaries, typically matching cache line size.
This structure is padded to QB_LOCKFREE_EVENT_BUCKET_BYTES (often same as cache line size). It is used in event queues or allocators to ensure that event objects or their containers are aligned in memory, potentially improving performance by optimizing cache usage and reducing contention in concurrent scenarios involving event processing. Contains a raw array __raw__ for padding.