|
Boost : |
From: Oliver.Kowalke_at_[hidden]
Date: 2005-11-09 02:06:56
Hello,
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).
With best regards,
Oliver
<<test.cpp>> <<message_queue.h>>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk