A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/046848.html below:

[Python-Dev] Re: PEP 324 (process module)

[Python-Dev] Re: PEP 324 (process module) [Python-Dev] Re: PEP 324 (process module)Guido van Rossum guido at python.org
Thu Aug 5 06:17:53 CEST 2004
> As I've found, if the end of the pipes in that represent the child's
> stderr/stdout fds are closed in the parent, a select() reading the
> "other" ends of these pipes will busywaut (at least on Linux).  Other
> than than, I think this  select() would be the absolute right thing on
> POSIX rather than using threads or polling.  Is there a way around this
> problem or is it just a fact of life?

The reading code needs to recognize the EOF and then conclude that
it's not going to get anything else from that pipe.  No different than
sockets.

--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4