16 Nov
2007
16 Nov
'07
3:58 p.m.
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