A basic thread-safe queue using pthread mutexes to wrap a C++ STL queue. More...
|class||FCam::TSQueue< T >|
|Basic thread-safe consumer/producer queue. More...|
Main namespace for the API.
A basic thread-safe queue using pthread mutexes to wrap a C++ STL queue.
Convenient to use for devices, etc, if they need a background control thread. This could probably be done with no locks, since it's just mostly used as a producer-consumer queue. But this way we don't have to worry about it, and lock contention has not appeared to be a problem yet.
Definition in file TSQueue.h.