pthread: work around winpthread header pollution on mingw
[gnulib.git] / doc / posix-headers / pthread.texi
1 @node pthread.h
2 @section @file{pthread.h}
3
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html}
5
6 Gnulib module: pthread
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item
11 This header pollutes the namespace with some broken macro
12 implementations for various functions such as @code{strtok_r} and
13 @code{gmtime_r}:
14 mingw 3.0.
15 @end itemize
16
17 Portability problems not fixed by Gnulib:
18 @itemize
19 @item
20 This header file is missing on some platforms; the replacement does
21 not offer threads, so much as lightweight stubs that make conditional
22 compilation easier for fallbacks to single-threaded programs.
23 Minix 3.1.8, mingw 2.x, MSVC 9, BeOS.
24 @end itemize