waiting for multiple condition variables in boost?

后端 未结 5 1597
没有蜡笔的小新
没有蜡笔的小新 2021-02-05 09:36

I\'m looking for a way to wait for multiple condition variables. ie. something like:

boost::condition_variable cond1;  
boost::condition_variable cond2;

void wa         


        
5条回答
  •  -上瘾入骨i
    2021-02-05 10:02

    alternative solutions?
    

    I am not sure of Boost library but you can use WaitForMultipleObjects Function to wait for multiple kernel objects. Just check if this helps.

提交回复
热议问题