Sujet : Re: Rationale for aligning data on even bytes in a Unix shell file?
De : Muttley (at) *nospam* DastardlyHQ.org
Groupes : comp.lang.cDate : 29. Apr 2025, 11:12:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vuq8mp$1i57p$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
On Tue, 29 Apr 2025 09:40:36 +0200
Bonita Montero <
Bonita.Montero@gmail.com> wibbled:
Am 29.04.2025 um 09:25 schrieb Lawrence D'Oliveiro:
>
If only ...
Note the limitations on Windows with
<https://docs.python.org/3/library/select.html>, just for example.
>
Windows has I/O-completion ports which are more flexible than select().
No API which requires a seperate thread for each channel is "flexible".
The whole point of select and poll is they allow multiplexing in a single
threaded program. If you're going to use multiple threads you might as well
just sit in a blocking read() or write(), you don't need a seperate API at
all.