Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-06-04 14:23:18

Nicolas Fleury wrote:
> >
> > (Subject: Re: many semaphores)
> Would it be possible to post some code that "experience has shown" to be
> error-prone using semaphores comparing with conditions/mutexes?

Sure... thanks to the Microsoft Corp.

Take a look at their brain-damaged "metered section" semaphore
implementation. Note that MS "auto-reset event" is nothing but
a binary sema (well, brain-dead "pulsing" aside for a moment).



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