I'd like to do a "waitForMultipleObjects" but I can't find such a thing in python thread or threading modules.
 
I have one thread that loops waiting for any one of four other threads to give him information, and of course the main thread may notify him to stop looping and die.
 
So I've got an event object for each of the four threads and I want to wait for any one of them to become true.
 
I suppose I could use a single Condition object that each thread sets, but that doesn't seem as efficient as waitfor multiple objects (from the win32api).
 
Is this something that Python needs? Is it easy to implement for different platforms? Is it there, but I haven't noticed it?
 
Any Ideas?
 
Thanks
Matthew Sherborne

Reply via email to