Subject: Re: [Boost-users] condition variable predicate and lambda
From: Christopher Pisz (cpisz_at_[hidden])
Date: 2011-10-18 18:30:50


Igor R <boost.lists <at> gmail.com> writes:

> {
> unique_lock lock(mutex_);
> condvar_->timed_wait(lock, timeout, lambda::var(state_) == HAPPY);
> }

I owe you at least a 6 pack by now Igor. Thanks so much!