Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Mon, 10 Mar 2025 23:21:05 -0000 (UTC) Organization: A noiseless patient Spider Lines: 21 Message-ID: References: <20250304092827.708@kylheku.com> <871pv861ht.fsf@nosuchdomain.example.com> <20250308192940.00001351@yahoo.com> <20250309012626.00001276@yahoo.com> <20250310135828.116@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 11 Mar 2025 00:21:08 +0100 (CET) Injection-Info: dont-email.me; posting-host="fb3f8814a23c1b5929be502852c6d2d1"; logging-data="1689972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186wenxH/YB3tSAtW7UPetg" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:KAt+hbXe0abrtJs0SAwT6hC5LPo= Bytes: 2592 On Mon, 10 Mar 2025 14:45:51 -0700, Chris M. Thomasson wrote: > On 3/10/2025 2:42 PM, Lawrence D'Oliveiro wrote: > >> On Mon, 10 Mar 2025 14:09:13 -0700, Chris M. Thomasson wrote: >> >>> lol! IOCP is not all that bad... :^) They have an interesting >>> function: >>> >>> https://learn.microsoft.com/en-us/windows/win32/api/ioapiset/nf-ioapiset-getqueuedcompletionstatusex >> >> It’s a blocking call: >> >> This function associates a thread with the specified completion >> port. A thread can be associated with at most one completion port. > > did you notice the timeout parameter? That leads to busy-waiting. >> So, no nondeterministic event-loop handling for you ...