by guenter » 14 Jul 2009, 19:29
There's Poco::NotificationQueue which has a blocking dequeue operation (with optional timeout) that waits until there's something to dequeue. The other half of BlockingQueue, a blocking enqueue operation if the queue is too large, can be implemented by creating a class that combines a Poco::NotificationQueue and a Poco::Semaphore.