
See boost::condition (http://www.boost.org/doc/html/boost/condition.html)
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Yves Dessertine Sent: 12 November 2007 09:16 To: boost-users@lists.boost.org Subject: [Boost-users] Monitors like Java's Object.wait() / Object.notify()in boost ?
Hello,
I am a new Boost user (and especialy boost::thread for a school project), I haven't found in Boost a feature like minotors in java, with the methods Object.wait() / Object.notify() / Object.notifyAll().
I have the problem of having one thread that produces information, and several threads that extract infos when available... but all the reader threads needs to be woken up only when more data is available (with an equivalent to nofityAll()).
Does such features exists in Boost::thread ??? Thank you for any tip.
Have a nice day.
Yves Dessertine IT student _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users