This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.28 - Please commit ISO C threads support.


> +* ISO C threads (ISO/IEC 9899:2011) has been added.  The implementation

* Support for ISO C threads...

> +  support all the standard functions provided by <threads.h>:

s/support/includes/g

> +
> +  - thrd_current, thrd_equal, thrd_sleep, thrd_yield, thrd_create,
> +    thrd_detach, thrd_exit, and thrd_join for thread managemen.

s/managemen/management/g

> +
> +  - 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.

Application developers must link against libpthread to use ISO C threads.

> +
>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * The nonstandard header files <libio.h> and <_G_config.h> are no longer
> 

OK with those changes.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]