WaitForMultpleObjects

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
valiyuneski
Earned a small fee
Earned a small fee
Posts: 14
Joined: Thu Dec 11, 2008 3:01 pm

WaitForMultpleObjects

Post by valiyuneski » Sun Dec 14, 2008 2:27 pm

Hi Guys,

I am trying to move my app to wxWidgets, and i need to know if there is a way to signal the thread with multiple CEvents,
WaitForMultipleObjects ???

Or maybe something which might be equivalent to it ...

Grrr
Earned some good credits
Earned some good credits
Posts: 126
Joined: Fri Apr 11, 2008 8:48 am
Location: Netherlands

Post by Grrr » Mon Dec 15, 2008 9:36 am

AFAIK wxWidgets does not have a single function to wait for multiple objects. You can rewrite your code using multiple synchronisation objects, such as wxMutex, wxCondition and wxSemaphore.

Post Reply