Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vorrev$f02c$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vorrev$f02c$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: transpiling to low level C
Date: Sat, 15 Feb 2025 21:01:18 -0800
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vorrev$f02c$1@dont-email.me>
References: <vjlh19$8j4k$1@dont-email.me> <vjlmia$dese$1@dont-email.me>
 <vjmc7j$hhg1$2@dont-email.me> <vjng40$o6pe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Feb 2025 06:01:20 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a8b93f436d4a82a97cc8bb30bcf0e4b5";
	logging-data="491596"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19g0sRFHAf4DrtfvQdeOYTtHX3VM5lDg3s="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PHqEECwzL5zjy7Q44PRx/sy7ZWY=
Content-Language: en-US
In-Reply-To: <vjng40$o6pe$1@dont-email.me>
Bytes: 1933

On 12/15/2024 1:01 PM, Chris M. Thomasson wrote:
> On 12/15/2024 2:49 AM, Thiago Adams wrote:
>> Em 12/15/2024 1:39 AM, Chris M. Thomasson escreveu:
>>> On 12/14/2024 7:05 PM, Thiago Adams wrote:
[...]
>> Yes this conversion is not implemented yet.
>>
>> Is
>> atomic_exchange(&foo.bar.m_atomic, 42);
>>
>> The generated code for
>> foo.bar.m_atomic =  42;
>> ?
> 
> Yes. atomic_exchange is an atomic RMW. Iirc, it defaults to seq_cst 
> memory_order. atomic_exchange_explicit allows us to define a different 
> memory_order.
> 
>> I may look this at future.
> 
> Cool. :^)

The atomic exchange allows one to get at the previous object or word in 
the atomic anchor. God, it's been a long time. 2005 I remember being on 
this group, comp.programming.threads, before it got nuked with spam... 
Yikes!