$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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