Deutsch   English   Français   Italiano  
<vqtro1$33l9c$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Python recompile
Date: Wed, 12 Mar 2025 22:50:56 -0700
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <vqtro1$33l9c$1@dont-email.me>
References: <vq1qas$j22$1@gallifrey.nk.ca> <vq4m0u$1ctpn$1@dont-email.me>
 <vq4n05$1d5dv$1@dont-email.me> <vq4om7$1dbo2$2@dont-email.me>
 <vq6dqh$1pskk$1@dont-email.me> <vq6f8p$1pmnk$1@dont-email.me>
 <vq6gqc$1qcp8$1@dont-email.me> <vq6ips$1pmnk$2@dont-email.me>
 <vq6j5h$1qosf$1@dont-email.me> <20250304092827.708@kylheku.com>
 <vq7g1p$1vmg5$1@dont-email.me> <vq94dt$2boso$1@dont-email.me>
 <vqcsk7$23bfo$1@paganini.bofh.team> <vqefn1$3flpt$1@dont-email.me>
 <vqeu5c$3imil$1@dont-email.me> <vqeun4$3iqbq$1@dont-email.me>
 <vqfcbe$3lkkc$1@dont-email.me> <871pv861ht.fsf@nosuchdomain.example.com>
 <20250308192940.00001351@yahoo.com> <vqi1ge$8jg8$1@dont-email.me>
 <vqibt3$ahu0$3@dont-email.me> <vqiibq$bq1o$7@dont-email.me>
 <20250309012626.00001276@yahoo.com> <vqiugc$dv5o$2@dont-email.me>
 <20250309112807.0000489d@yahoo.com> <vql2bf$uei7$2@dont-email.me>
 <20250310152000.00004955@yahoo.com> <vqnm1h$1i1s0$4@dont-email.me>
 <vqnm88$1ievf$1@dont-email.me> <20250310144539.321@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Mar 2025 06:51:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="af44222198935e88df6749dd19756219";
	logging-data="3265836"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+d5xbH3NlYFx3V15y+UzIcJKQCiqWnv4c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xWt4slWLRi7XVL7jUcbnR0bYiTQ=
In-Reply-To: <20250310144539.321@kylheku.com>
Content-Language: en-US
Bytes: 3190

On 3/10/2025 2:55 PM, Kaz Kylheku wrote:
> On 2025-03-10, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>> On 3/10/2025 2:36 PM, Lawrence D'Oliveiro wrote:
>>> On Mon, 10 Mar 2025 15:20:00 +0200, Michael S wrote:
>>>
>>>> Similar to poll(), yes. Not so similar to super-ugly select(). I
>>>> hope that Unix people stopped using select in new programs two or
>>>> more decades ago.
>>>
>>> Seems like WaitForMultipleObjects is more similar to select() than
>>> poll(), though: it has a fixed limit (MAXIMUM_WAIT_OBJECTS) on the
>>> number of objects you can wait on at once.
>>>
>>>> But WaitForMultipleObjects can do things that poll can not, like
>>>> waiting on semaphore or on event or on thread (for completion, which
>>>> POSIX people, in their eternal fondness for idiotic names call
>>>> 'join').
>>
>> [...]
>>
>> For some damn reason I am remembering that the array that
>> WaitForMultipleObjects waits on should be "shifted" or even randomized
>> per call in a server loop that is using EVENTS. IIRC, this was way back
>> in late 90's and early 2000's.
> 
> You remember correctly. I remember coding this.

[...]

I tried to email you back but it got kicked back.