36.1 ISO C Threads

This section describes the GNU C Library ISO C threads implementation. To have a deeper understanding of this API, it is strongly recommended to read ISO/IEC 9899:2011, section 7.26, in which ISO C threads were originally specified.

All types and function prototypes are declared in the header file threads.h. When compiling for C, some functionality is also available in stdlib.h.

It is recommended that GNU systems use the functionality in pthread.h instead of thread.h, as they are more portable between C and C++.