join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::QueueSlot< Type > Struct Template Reference

queue slot. More...

#include <queue.hpp>

Public Attributes

std::atomic_uint64_t _seq
 sequence number for synchronization.
 
Type data
 stored element data.
 
char _padding [(64 -((sizeof(std::atomic_uint64_t)+sizeof(Type)) % 64)) % 64]
 padding to prevent false sharing.
 

Detailed Description

template<typename Type>
struct join::QueueSlot< Type >

queue slot.

Member Data Documentation

◆ _padding

template<typename Type >
char join::QueueSlot< Type >::_padding[(64 -((sizeof(std::atomic_uint64_t)+sizeof(Type)) % 64)) % 64]

padding to prevent false sharing.

◆ _seq

template<typename Type >
std::atomic_uint64_t join::QueueSlot< Type >::_seq

sequence number for synchronization.

◆ data

template<typename Type >
Type join::QueueSlot< Type >::data

stored element data.


The documentation for this struct was generated from the following file: