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 <v2qlqu$2egjm$2@dont-email.me>
Deutsch   English   Français   Italiano  
<v2qlqu$2egjm$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
Subject: Re: C23 thoughts and opinions
Date: Fri, 24 May 2024 11:21:17 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <v2qlqu$2egjm$2@dont-email.me>
References: <v2l828$18v7f$1@dont-email.me> <v2lnr5$1bu1r$1@dont-email.me>
 <v2ngmp$1p3o2$3@dont-email.me> <v2oi32$1vebu$1@dont-email.me>
 <v2q9fk$2cb7s$1@dont-email.me> <v2ql2i$2egjm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 May 2024 20:21:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a99698c67443521d1279cccaa6d71273";
	logging-data="2572918"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Ts5EAycqVtfbBFVEgffaQIBlSwWJIw7s="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oQ++RGoTMgQ0bPf9letJpqiOGuQ=
In-Reply-To: <v2ql2i$2egjm$1@dont-email.me>
Content-Language: en-US
Bytes: 1673

On 5/24/2024 11:08 AM, Chris M. Thomasson wrote:
[...]

Fwiw, here is an older region allocator that is meant to use a threads 
stack space. It not one of my lock-free ones but:

https://pastebin.com/raw/f37a23918
(raw text, no ads and shit like that...)

This old code uses some old alignment hacks!

#define RALLOC_ALIGN_OF(mp_type) \
   offsetof( \
     struct { \
       char pad_RALLOC_ALIGN_OF; \
       mp_type type_RALLOC_ALIGN_OF; \
     }, \
     type_RALLOC_ALIGN_OF \
   )

Yikes!