The ISO C multithreading API is documented in ISO C 11 http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf.
To make use of ISO C multithreading, even on platforms that don’t support it or have severe bugs, use the following Gnulib modules:
|For thread creation and management:|
|For simple locks, recursive locks, and read-write locks:|
|For once-only execution:|
|For “condition variables” (wait queues):|
|For thread-local storage:|
There is also a convenience module named
threads which depends on all
of these; so you don’t need to enumerate these modules one by one.