Boost logo

Boost :

From: Colin Caughie (c.caughie_at_[hidden])
Date: 2008-02-08 10:27:34

Frank Mori Hess <fmhess <at>> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at