eXpress “1.5”

ParseThreadSafety Struct Reference

The ParseThreadSafety struct stores objects to allow for parsing to safely occur on a separate thread from processing. More...

#include <threadsafety.h>

List of all members.

Public Member Functions

 ParseThreadSafety (size_t q_size)
 PraseThreadSafety constructor intializes queues to the given size.

Public Attributes

ThreadSafeFragQueue proc_in
 A public ThreadSafeFragQueue of pointers to Fragments that have been parsed but not pre-processed.
ThreadSafeFragQueue proc_on
 A public ThreadSafeFragQueue of pointers to Fragments that have been pre-processed but not processed.
ThreadSafeFragQueue proc_out
 A public ThreadSafeFragQueue of pointers to Fragments that have been processed but not post-processed.

Detailed Description

The ParseThreadSafety struct stores objects to allow for parsing to safely occur on a separate thread from processing.

Author:
Adam Roberts
Date:
2011 Artistic License 2.0

Definition at line 85 of file threadsafety.h.


Constructor & Destructor Documentation

ParseThreadSafety::ParseThreadSafety ( size_t  q_size) [inline]

PraseThreadSafety constructor intializes queues to the given size.

Parameters:
q_sizethe maximum size for the ThreadSafeFragQueues.

Definition at line 105 of file threadsafety.h.


The documentation for this struct was generated from the following file:
 All Classes Functions Variables