Boost logo

Boost Users :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2004-12-23 08:50:49


Amerio wrote:

>I thought about this, too. Yet, the boost doc says that wait() will UNLOCK
>then RELOCK the mutex. Couldn't it be that in between someone else take the
>lock ?
>The doc is quite fuzzy around this...
>
>
This is the _key_ point of condvar mutex use. Because it is guaranteed
noone else can go in between
it is by no means easy to implement it e.g. on the windows platform.
Luckily however some clever
guys have solved this problem. :-)

Again, I highly recommend to get a book on pthreads. You will find a lot
of useful information which
also applies to boost threads.

Roland


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net