Nicolas Fleury wrote:
[...]
> > http://google.com/groups?selm=3CED3306.DF6DB829%40web.de
> > (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.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_metrsect.asp

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).

regards,
alexander.

--
http://google.com/groups?selm=c29b5e33.0201240132.3d78369f%40posting.google.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to