Deutsch   English   Français   Italiano  
<vprsrc$3io8j$3@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: Futex Stack Test...
Date: Fri, 28 Feb 2025 00:41:15 -0800
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <vprsrc$3io8j$3@dont-email.me>
References: <vp0g2q$1bu96$1@dont-email.me> <vp1b93$1ja3m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 28 Feb 2025 09:41:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cad7a6177c2179808129aff139dbb464";
	logging-data="3760403"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19hyY/rpwIodxuMGC/AKZiydZJpbqDFivg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3Dn5CkcAND6nalJg5+Yo+i48fR8=
In-Reply-To: <vp1b93$1ja3m$1@dont-email.me>
Content-Language: en-US
Bytes: 1814

On 2/17/2025 11:01 PM, Paavo Helde wrote:
> On 18.02.2025 01:17, Chris M. Thomasson wrote:
>> This is a little C++20 test using a futex to allow one to wait on a 
>> lock-free stack. The main stack logic is in struct ct_stack. Well, can 
>> you get to compile and run? Thanks...
> 
> Seamed to work fine, but compilation produced some warnings about the 
> CT_WAIT macro.
[...]
>> Shutdown complete!
>>
>> ct_shared::~ct_shared()
>>



>> g_ct_work_alloations = 10000042
>> g_ct_work_dealloations = 10000042
^^^^^^^^^^^^^^^^

It would help if I spelled those damn words right! Allocation, 
Deallocation... Where are my c's? lol. Wow.

Sorry about that non-sense.




>>
>> Fin!
>> _______________________
>>
>>
>> Well, any luck?
>