threads.h
=========

Defines the multithreading facility of ISO C11.

Gnulib module: threads-h

Portability problems fixed by Gnulib:

  * This header file is missing on many platforms: glibc 2.27, macOS 11.1, FreeBSD 9.3, NetBSD 8.0, OpenBSD 6.7, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, Cygwin 2.2.x, mingw, MSVC 14, Android 9.0.

  * This header file defines thrd_start_t incorrectly on some platforms: AIX 7.2.

  * This header file does not define TSS_DTOR_ITERATIONS on some platforms: AIX 7.2.

Portability problems not fixed by Gnulib:

  * There is no way to define a working thread_local macro on some platforms:

       * Mac OS X 10.5,

       * OpenBSD 6.5,

       * AIX 7.1 with gcc (but it works with xlc -qthreaded -qtls),

       * HP-UX 11.31 with cc (but it works with gcc),

       * IRIX 6.5,

       * Android 4.3.