The Producer‑Consumer Classes
The Interthread Communication package includes a family of templatized, value and pointer-based, queue and stack classes that use producer-consumer synchronization semantics to coordinate multithread read and write operations.
By default, the size of the queue and stack structures defined by these classes is limited only by available memory. The constructors for these class can accept an artificial size limit if you want to block producers when the buffer is filled.
For information on the producer-consumer classes, see the Interthread Communication page on the Modules tab of the SourcePro API Reference Guide.
For an example demonstrating the use of one of these classes, see The RWTPCValQueue Family of Classes.