25 #ifndef LOG4CPLUS_HELPERS_QUEUE_H 26 #define LOG4CPLUS_HELPERS_QUEUE_H 30 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 34 #if ! defined (LOG4CPLUS_SINGLE_THREADED) 56 explicit Queue (
unsigned len = 100);
156 #endif // LOG4CPLUS_SINGLE_THREADED 158 #endif // LOG4CPLUS_HELPERS_QUEUE_H
ManualResetEvent ev_consumer
Event on which consumer can wait if it finds queue empty.
The internal representation of logging events.
queue_storage_type queue
Queue storage.
unsigned flags_type
Type of the state flags field.
Single consumer, multiple producers queue.
helpers::SharedObjectPtr< Queue > QueuePtr
Semaphore sem
Semaphore that limits the queue length.
Flags
Possible state flags.
Mutex mutex
Mutex protecting queue and flags.
std::deque< spi::InternalLoggingEvent > queue_storage_type
Queue storage type.
flags_type flags
State flags.