On 24Nov2015 06:33, israel <[email protected]> wrote:
On 11/23/2015 20:29, Cameron Simpson wrote:
On 24Nov2015 16:25, Cameron Simpson <[email protected]> wrote:
Completely untested example code:

class ReturnEvent:
 def __init__(self):
   self.event = Event()

With, of course:

  def wait(self):
    return self.event.wait()

Of course :-) Ah, the Event() object comes from the threading module. That makes sense. This should work perfectly. Thanks so much for taking the time to help me out!

Glad to be of service,
Cameron Simpson <[email protected]>

All the doors in this ship have nice sunny dispositions. It is their pleasure to open for you, and their satisfaction to close with the knowledge of a job well done. - Marvin _The Hitchhiker's Guide to the Galaxy_
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to