STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
Concurrency::details::_Micro_queue Struct Reference

#include <concurrent_queue.h>

Public Member Functions

void _Push (void *_Item, _Ticket _K, _Concurrent_queue_base &_Base, void(_Concurrent_queue_base::*moveOp)(_Concurrent_queue_base_v4::_Page &, size_t, void *))
 
bool _Pop (void *_Dest, _Ticket _K, _Concurrent_queue_base &_Base)
 

Public Attributes

_Subatomic< _Concurrent_queue_base::_Page * > _Head_page
 
_Subatomic< _Ticket_Head_counter
 
_Subatomic< _Concurrent_queue_base::_Page * > _Tail_page
 
_Subatomic< _Ticket_Tail_counter
 
volatile long _Page_mutex_flag
 

Detailed Description

For efficiency, this class has no constructor. The caller is expected to zero-initialize it.

Member Function Documentation

bool Concurrency::details::_Micro_queue::_Pop ( void _Dest,
_Ticket  _K,
_Concurrent_queue_base _Base 
)
void Concurrency::details::_Micro_queue::_Push ( void _Item,
_Ticket  _K,
_Concurrent_queue_base _Base,
void(_Concurrent_queue_base::*)(_Concurrent_queue_base_v4::_Page &, size_t, void *)  moveOp 
)

Member Data Documentation

_Subatomic<_Ticket> Concurrency::details::_Micro_queue::_Head_counter
_Subatomic<_Concurrent_queue_base::_Page*> Concurrency::details::_Micro_queue::_Head_page
volatile long Concurrency::details::_Micro_queue::_Page_mutex_flag
_Subatomic<_Ticket> Concurrency::details::_Micro_queue::_Tail_counter
_Subatomic<_Concurrent_queue_base::_Page*> Concurrency::details::_Micro_queue::_Tail_page

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