libxr
1.0
Want to be the best embedded framework
|
单个槽结构体 / Individual slot structure (cache line aligned) More...
#include <lockfree_pool.hpp>
Data Fields | ||
struct { | ||
std::atomic< SlotState > state | ||
当前槽状态 / Current state More... | ||
Data data | ||
槽内数据 / Stored data More... | ||
} | slot | |
uint8_t | pad [LIBXR_CACHE_LINE_SIZE] | |
缓存行填充 / Cache line padding | ||
单个槽结构体 / Individual slot structure (cache line aligned)
Definition at line 41 of file lockfree_pool.hpp.
Data LibXR::LockFreePool< Data >::Slot::data |
槽内数据 / Stored data
Definition at line 46 of file lockfree_pool.hpp.
uint8_t LibXR::LockFreePool< Data >::Slot::pad[LIBXR_CACHE_LINE_SIZE] |
缓存行填充 / Cache line padding
Definition at line 49 of file lockfree_pool.hpp.
std::atomic<SlotState> LibXR::LockFreePool< Data >::Slot::state |
当前槽状态 / Current state
Definition at line 45 of file lockfree_pool.hpp.