
8 Feb
2008
8 Feb
'08
3:27 p.m.
Frank Mori Hess <fmhess <at> speakeasy.net> writes:
Why would you do that? Boost.thread does provide boost::condition, which isn't exactly a semaphore but conditions are designed for just the purpose you describe.
So it does! I hadn't noticed that before. Presumably this works just like Posix condition variables? OK forget what I said about semaphores, boost::condition should do exactly what you need. :) Unless you need counting of course, but you probably don't. Colin