|
Boost : |
From: jsiek_at_[hidden]
Date: 2000-08-10 15:10:27
William Kempf writes:
> I wouldn't attach it to the condition, however. I'd pass the
> predicate into the wait. Thus the condition can be used to track
> different criteria.
>
> cond.wait((free1 > 10)(a));
Why would you want to use the same condition variable with different
criteria? (why not just use a different condition variable)
Cheers,
Jeremy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk