Boost logo

Boost Users :

From: Andrey Tcherepanov (moyt63c02_at_[hidden])
Date: 2007-11-16 10:58:40


Hello boosters,

Let's say I have a 2 condition variables, and 2 threads that wait on them.
I would like to collapse these 2 threads into 1 by making thread wait on
*either* of these conditions to lock their mutexes (it is not the same
mutex). Is it possible to do, or I better change the logic under the hood?

Thank you very much,
    Andrey


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