This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients giampaolo.rodola, neologix, pitrou, vstinner
Date 2013-10-12.16:08:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381594081.2497.2.camel@fsol>
In-reply-to <CAH_1eM3x56siz8qc1yPU3hvV77=Wuhn1TUdug6Jy0wPvDhzx5A@mail.gmail.com>
Content
> Honestly, I think the extra complexity and non-portability isn't worth it.

That's what I think too.
If we want to avoid polling, there's another approach:
- fork() a first time
- fork() in the first child
- exec() in the second child
- in the first child, call waitpid() and then write() the return code to
a fd
- in the parent, wait on the fd using select() or poll()
History
Date User Action Args
2013-10-12 16:08:33pitrousetrecipients: + pitrou, vstinner, giampaolo.rodola, neologix
2013-10-12 16:08:33pitroulinkissue12187 messages
2013-10-12 16:08:33pitroucreate