$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Pete Chapman (p.chapman_at_[hidden])
Date: 2005-10-26 11:55:33
Thomas Costa wrote:
> The mutex ensures correctness even if not being held when the cond
> variable is signalled/broadcast AS LONG AS the "state" being waited
> on is only modified WHILE holding the mutex.
Thanks, it all makes sense now. I also posted the question to
comp.programming.threads and got some detailed responses. Apparently
this sort of question comes up quite regularly...
Thank you for the explanation.