Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99294 > unrolled thread

Re: Bi-directional sub-process communication

Started byCameron Simpson <cs@zip.com.au>
First post2015-11-24 16:29 +1100
Last post2015-11-24 16:29 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bi-directional sub-process communication Cameron Simpson <cs@zip.com.au> - 2015-11-24 16:29 +1100

#99294 — Re: Bi-directional sub-process communication

FromCameron Simpson <cs@zip.com.au>
Date2015-11-24 16:29 +1100
SubjectRe: Bi-directional sub-process communication
Message-ID<mailman.85.1448342960.2291.python-list@python.org>
On 24Nov2015 16:25, Cameron Simpson <cs@zip.com.au> wrote:
>Completely untested example code:
>
> class ReturnEvent:
>   def __init__(self):
>     self.event = Event()

With, of course:

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

Cheers,
Cameron Simpson <cs@zip.com.au>

Maintainer's Motto: If we can't fix it, it ain't broke.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web