Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99294 > unrolled thread
| Started by | Cameron Simpson <cs@zip.com.au> |
|---|---|
| First post | 2015-11-24 16:29 +1100 |
| Last post | 2015-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.
Re: Bi-directional sub-process communication Cameron Simpson <cs@zip.com.au> - 2015-11-24 16:29 +1100
| From | Cameron Simpson <cs@zip.com.au> |
|---|---|
| Date | 2015-11-24 16:29 +1100 |
| Subject | Re: 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.
Back to top | Article view | comp.lang.python
csiph-web