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/046813.html below:

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

[Python-Dev] Re: PEP 324 (process module) [Python-Dev] Re: PEP 324 (process module)Peter Astrand astrand at lysator.liu.se
Wed Aug 4 18:25:36 CEST 2004
> > Why not avoid threads on POSIX systems, and use select instead? My module
> > does, although it does not provide an event-like IO interface. If you get
> > rid of the threads, then you don't need the workaround code for Linux.
>
> Doesn't select() effectively busy-wait on "real" files (pipes and file
> descriptors obtained via open(), as opposed to network sockets) on most
> (all?) UNIXen?  At least this has been my finding under Linux.

Yes, but a solution with threads will have problems as well, since read()
and friends will return EOF rather than block when you reach the end.


/Peter Åstrand <astrand at lysator.liu.se>
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