Boost logo

Boost :

Subject: Re: [boost] Mutex vs Semaphore
From: Oliver Seiler (oseiler_at_[hidden])
Date: 2009-04-03 00:29:52

A barrier, maybe?

On Thu, Apr 2, 2009 at 7:57 PM, Jean-Sebastien Stoezel
<js.stoezel_at_[hidden]> wrote:
> Thanks for the quick reply. Using conditon variables sounds quite heavy. You
> need to instantiate a mutex, a condition variable and a flag...
> Would there be anything wrong with instantiating a semaphore from the
> interprocess library to provide inter-thread synchronization? By the way,
> why isn't there any semaphore available in the thread library?

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