Re: [boost] no semaphores in boost::thread

2003-07-06 Thread Beman Dawes
At 09:22 AM 6/4/2003, Stefan Seefeld wrote: hi there, I'v been trying to find some info as to why semaphores are considered harmful by the boost::thread authors, without luck. Is there any concise text describing the problem ? I've expanded the FAQ entry to read: Why has class semaphore

[boost] no semaphores in boost::thread

2003-06-05 Thread Stefan Seefeld
hi there, I'v been trying to find some info as to why semaphores are considered harmful by the boost::thread authors, without luck. Is there any concise text describing the problem ? I'v been using semaphores for years and can't think of what should be wrong with it. Thanks,

Re: [boost] no semaphores in boost::thread

2003-06-05 Thread Robin Hu
Stefan == Stefan Seefeld [EMAIL PROTECTED] writes: Stefan hi there, Stefan I'v been trying to find some info as to why semaphores are Stefan considered harmful by the boost::thread authors, without Stefan luck. Is there any concise text describing the problem ? Stefan I'v

Re: [boost] no semaphores in boost::thread

2003-06-05 Thread Stefan Seefeld
Robin Hu wrote: Semaphore can always be stimulated by using mutex + cond_var. and the only place that semaphore is a must is in signle-handler, but this is not within the area of threading programming. ;-) right, semaphores can be emulated by other primitives. But does that mean