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
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
I am not sure I understand your use case but it sounds like something you would use a QWaitCondition for instead of semphores
Cheers,
_
Bookmarks