Native C threads

suggest change

C11 introduced the optional <threads.h> library. Test the correctly spelled feature-test macro before depending on it:

#ifdef __STDC_NO_THREADS__
#error "This program requires the standard C threads library"
#else
#include <threads.h>
#endif

The library provides five groups of facilities:

Do not maintain a fixed list of supporting libraries in application code or documentation; implementation support changes over time. Consult the compiler and C library documentation for the platforms you target.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents