[boost-thread] Communication between Threads

Hi, I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications? Thank you.

Meryl Silverburgh wrote:
I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications?
You might look into the boost_root/libs/thread/example directory. E.g. the condition.cpp demonstrates a bounded buffer with receiver and sender. Roland

On Thu, January 25, 2007 12:12, Roland Schwarz wrote:
Meryl Silverburgh wrote:
I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications?
You might look into the boost_root/libs/thread/example directory. E.g. the condition.cpp demonstrates a bounded buffer with receiver and sender.
Roland _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You also might look into this DDJ article about boost::threads. There you can find a consumer/receiver example. With Kind Regards, Ovanes Markarian

Sorry, forgot the URL: http://www.ddj.com/dept/cpp/184401518 With Kind Regards, Ovanes On Thu, January 25, 2007 12:23, Ovanes Markarian wrote:
On Thu, January 25, 2007 12:12, Roland Schwarz wrote:
Meryl Silverburgh wrote:
I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications?
You might look into the boost_root/libs/thread/example directory. E.g. the condition.cpp demonstrates a bounded buffer with receiver and sender.
Roland _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You also might look into this DDJ article about boost::threads. There you can find a consumer/receiver example.
With Kind Regards,
Ovanes Markarian
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

You could use the defer library in the boost vault (concurrency) Oliver
Hi,
I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications?
Thank you. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On 1/25/07, Oliver.Kowalke@qimonda.com
You could use the defer library in the boost vault (concurrency) Oliver
Hi,
I notice there is a boost.thread library, but is there a library for inter-threads communication? For example, is there a 'Procedure/Consumer' example for inter-threads communications?
Thank you. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks. Should I use the 'named pipe' for inter-process communication between 2 threads when I use boost: thread? Thank you.
participants (4)
-
Meryl Silverburgh
-
Oliver.Kowalke@qimonda.com
-
Ovanes Markarian
-
Roland Schwarz