This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc 2.28 - Please commit ISO C threads support.
On 24/07/2018 16:06, Carlos O'Donell wrote:
> On 07/24/2018 02:58 PM, Adhemerval Zanella wrote:
>>
>>
>> On 24/07/2018 15:52, Carlos O'Donell wrote:
>>> On 07/24/2018 01:25 PM, Adhemerval Zanella wrote:
>>>>
>>>>
>>>> On 24/07/2018 13:06, Carlos O'Donell wrote:
>>>>> Adhemerval,
>>>>>
>>>>> We are ready.
>>>>>
>>>>> Please commit ISO C threads support for 2.28.
>>>>>
>>>>> Cheers,
>>>>> Carlos.
>>>>>
>>>>
>>>> Thanks, I am just doing a final round of build and testing before
>>>> pushing it upstream.
>>>
>>> Thank you!
>>>
>>
>> Patches pushed upstream.
>>
>
> Do we have a NEWS entry for this yet?
>
> c.
Not yet, what about:
diff --git a/NEWS b/NEWS
index ed61fc5..b3bb0fc 100644
--- a/NEWS
+++ b/NEWS
@@ -94,6 +94,24 @@ Major new features:
for safety are now load errors e.g. /foo/${ORIGIN}.so in DT_NEEDED
results in a load failure now.
+* ISO C threads (ISO/IEC 9899:2011) has been added. The implementation
+ support all the standard functions provided by <threads.h>:
+
+ - thrd_current, thrd_equal, thrd_sleep, thrd_yield, thrd_create,
+ thrd_detach, thrd_exit, and thrd_join for thread managemen.
+
+ - mtx_init, mtx_lock, mtx_timedlock, mtx_trylock, mtx_unlock, and
+ mtx_destroy for mutual exclusion.
+
+ - call_once for function call synchronization
+
+ - cnd_broadcast, cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and
+ cnd_wait for conditional variables.
+
+ - tss_create, tss_delete, tss_get, and tss_set for thread-local storage.
+
+ It is requires new application to link against libpthread.
+
Deprecated and removed features, and other changes affecting compatibility:
* The nonstandard header files <libio.h> and <_G_config.h> are no longer