PDA

View Full Version : WaitHandle



matteo.ceruti
24th January 2013, 17:04
I have n QSemaphore (s1,s2,s3...) in the same thread and I need to wait that almost one of this is waked is released.
With the MFC there is the WaitHandle.WaitAny(...) function that permit this.
Is there something of equivalent with Qt?

Thanks
Teo

anda_skoa
27th January 2013, 14:07
I am not sure I understand your use case but it sounds like something you would use a QWaitCondition for instead of semphores

Cheers,
_