Sujet : Re: Python (was Re: I did not inhale)
De : mailbox (at) *nospam* dmitry-kazakov.de (Dmitry A. Kazakov)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 20. Aug 2024, 08:57:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va1eo4$39jpi$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
User-Agent : Mozilla Thunderbird
On 2024-08-20 01:03, Lawrence D'Oliveiro wrote:
On Mon, 19 Aug 2024 13:03:23 +0200, Dmitry A. Kazakov wrote:
Again. It is called overlapped I/O. You can start multiple
*asynchronous* I/O operations from a thread.
I’m not talking about using threads. I’m talking about avoiding threads,
and all their potential for difficult-to-fix race-condition-type bugs.
I’m talking about situations where the bottleneck is the I/O, not the CPU,
so multithreading gets you nothing.
It seems you suffer some form of dyslexia. I clearly stated that all instances of overlapped I/O is started from the same/single/one thread. Better now?
-- Regards,Dmitry A. Kazakovhttp://www.dmitry-kazakov.de