Page 1 of 1

wxWidgets wxThread WaitForMultipleObjects

Posted: Tue Dec 16, 2008 2:29 pm
by valiyuneski
Hi Eran,

I know this is not the right forum to post general wxWidgets questions, but you have quite a lot exerience writting the IDE with it, so i thought you
might have an answer :

I need to see some sample of anything like WaitForMultipleObjects(..) for wxThread.

So far i have played with wxThread + wxCondition + wxMutex and i got it to work, and in a quite brutal way but i would like to wait on multiple conditions and to be signalled for each and every condition separatelly and also be able to know from which condition the sinal arrived, but i cannot seem to find out a solution for using multiple wxConditions and find out inside the Run() which of the condition was signaled.

Again i do not intend to bother you but i googled for like 3 days now and virtually found nothing close.

Your help would be highly appreciated

Valentin