> Matthew Sherborne wrote: > > I'd like to do a "waitForMultipleObjects" but I can't find such a > thing in python thread or threading modules.
If you're only on windows, you could use win32event.waitForMultipleObjects, which is a simple wrapper around that API call. > 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? waitForMultipleObject is routinely listed as one of the cool things in the windows API. That it isn't available generically is probably a testament to the difficulty of doing cross-platform threads. Trent's other answers still apply. =) -- David Ascher _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs