Deutsch   English   Français   Italiano  
<v0ricv$2lc99$2@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!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: Threads across programming languages
Date: Tue, 30 Apr 2024 12:56:14 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <v0ricv$2lc99$2@dont-email.me>
References: <GIL-20240429161553@ram.dialup.fu-berlin.de>
 <v0oh9f$1rdff$1@raubtier-asyl.eternal-september.org>
 <v0p02j$1ur12$5@dont-email.me>
 <v0pq95$28cml$1@raubtier-asyl.eternal-september.org>
 <v0pqsr$28g0v$3@dont-email.me>
 <v0q1b7$29uj9$1@raubtier-asyl.eternal-september.org>
 <v0q3ti$2aiff$1@dont-email.me>
 <v0q73c$2b8sm$1@raubtier-asyl.eternal-september.org>
 <v0qcgc$2ce30$1@dont-email.me>
 <v0qddn$2ckv6$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 Apr 2024 21:56:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="59e3cacb37dde286cbf606801e5bc80d";
	logging-data="2797865"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18Jw5SZ0XjpuoB1kgLnTi4WyLjKTSybQGk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1l/3jXk1G8KG9qCrRkUHDjzXJaY=
Content-Language: en-US
In-Reply-To: <v0qddn$2ckv6$1@raubtier-asyl.eternal-september.org>
Bytes: 2509

On 4/30/2024 2:25 AM, Bonita Montero wrote:
> Am 30.04.2024 um 11:09 schrieb Lawrence D'Oliveiro:
>> On Tue, 30 Apr 2024 09:37:18 +0200, Bonita Montero wrote:
>>
>>> Am 30.04.2024 um 08:42 schrieb Lawrence D'Oliveiro:
>>>> On Tue, 30 Apr 2024 07:59:06 +0200, Bonita Montero wrote:
>>>>
>>>>> Am 30.04.2024 um 06:09 schrieb Lawrence D'Oliveiro:
>>>>>>
>>>>>> On Tue, 30 Apr 2024 05:58:31 +0200, Bonita Montero wrote:
>>>>>>
>>>>>>> Having a single thread and using state machines is more effortz.
>>>>>>
>>>>>> It would indeed. That’s why coroutines (async/await) are so handy.
>>>>>
>>>>> Using a thread is even more handy.
>>>>
>>>> Do you know what a “heisenbug” is?
>>>
>>> [No]
>>
>> Do you know what a “race condition” is?
>>
> 
> Race conditions are mostly easy to handle. 

Have you fixed your massive bug in your DCL futex thing?


> If you do I/O and the
> send / receive options are atomic you'd even not need a mutex and
> the race condition isn't a problem although it is not handled.
>