|
Boost Users : |
Subject: Re: [Boost-users] How to implementing a conditional wait
From: Daniele Barzotti (daniele.barzotti_at_[hidden])
Date: 2009-02-23 02:52:31
Steven Watanabe ha scritto:
>
> Use the predicate form of timed_wait.
>
> bool ready = cond.timed_wait(lock, xt, boost::lambda::var(data_ready));
Thanks!
Daniele.
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