C23 addition of once_flag to <stdlib.h>

Joseph Myers josmyers@redhat.com
Fri Nov 7 18:35:48 GMT 2025


On Fri, 7 Nov 2025, Collin Funk wrote:

> Your plan sounds good to me. In my review of that change I mentioned I
> was suprised that the C comittee was even touching C11 threads stuff
> [1].

The point of the C23 change, as discussed in N2840, is that call_once is 
useful without threads and so it makes sense not to tie it to C11 threads 
(which are optional).

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Libc-alpha mailing list