
9 Nov
2005
9 Nov
'05
2:14 p.m.
On 11/9/05, Oliver.Kowalke@infineon.com <Oliver.Kowalke@infineon.com> wrote:
I've a suggestion for an implementation of the synchronization channel between producer and consumer threads. It is adopted from several books - the only problem is how to tell the consumer threads, that all producer have finished their jobs. You can signal it from outside (deactive member function) or each producer thread has to register on the message_queue (and unregister if it has finished its job).
Looks like a very nice implementation to me. It is only missing operations with timeouts. -- Caleb Epstein caleb dot epstein at gmail dot com