Boost Users :
Subject: Re: [Boost-users] threads: shared lock question
From: Igor R (boost.lists_at_[hidden])
Date: 2011-09-19 11:48:33
> You need to be careful with condition variables, as they typically
> edge-triggered rather than level-triggered. Â If they are
> edge-triggered and the calculation completes and signals before
> anything is actually waiting on the CV then the waiter will not be signaled.
That's why CV should be used with a state variable.
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