Hi ,which version of Boost are you using? Which compiler and which platform?

Vicente

Thank you , i am using boost 1.49 , on windows 7 sp1 86x , using gcc 4.4.1 .



On first iteration:
* Writer gains the lock
* Reader is blocked while trying to obtain lock
* Writer calls condition.notify_all()
* Writer calls condition.wait(), thus releasing the mutex and blocking itself until condition.notify_*()
* Reader is unblocked
* Reader calls condition.wait(), releasing the mutex and blocking itself until condition.notify_*()

:-)
--rob
i just merely copied the example from this link (Multithread section exercises ) ! so this means the example is faulty ?