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

lightweight queue slot used by SPSC. More...

#include <queue.hpp>

Public Attributes

Type data
 stored element data.
 
char _padding [(64 -(sizeof(Type) % 64)) % 64]
 padding to prevent false sharing.
 

Detailed Description

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

lightweight queue slot used by SPSC.

Member Data Documentation

◆ _padding

template<typename Type >
char join::QueueSlotLight< Type >::_padding[(64 -(sizeof(Type) % 64)) % 64]

padding to prevent false sharing.

◆ data

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

stored element data.


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