Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-08-06 09:35:39


Ruediger Berlich:
...

> If the number of consumer threads would be known in advance, Boost's
> Thread-Barrier might be a possible choice. As I do not know this number,
> however, I'll probably have to do my own locking (see my sample
> implementation).

You might want to look at Phasers:

http://www.infoq.com/news/2008/07/phasers
http://www.cs.rice.edu/%7Evs3/PDF/SPSS08-phasers.pdf


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net