Mercurial > gnulib
annotate doc/posix-headers/pthread.texi @ 39244:aa3cd60dc529
thread: Fix compilation error on IRIX.
* lib/glthread/thread.h: Include <unistd.h>. Include <signal.h> when
needed; include it outside the C++ extern "C" {} block.
* doc/posix-headers/pthread.texi: Mention the problem with
pthread_atfork on IRIX.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 17 Feb 2018 09:55:43 +0100 |
parents | 927867cc7daa |
children |
rev | line source |
---|---|
29329
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node pthread.h |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @section @file{pthread.h} |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 |
33444
36c9045b3250
Update doc for POSIX:2008.
Bruno Haible <bruno@clisp.org>
parents:
33240
diff
changeset
|
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html} |
29329
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 |
37295
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
6 Gnulib module: pthread |
29329
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 Portability problems fixed by Gnulib: |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 @itemize |
37295
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
10 @item |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
11 This header pollutes the namespace with some broken macro |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
12 implementations for various functions such as @code{strtok_r} and |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
13 @code{gmtime_r}: |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
14 mingw 3.0. |
29329
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 @end itemize |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 Portability problems not fixed by Gnulib: |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 @itemize |
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 @item |
37295
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
20 This header file is missing on some platforms; the replacement does |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
21 not offer threads, so much as lightweight stubs that make conditional |
ec68c9dcb64c
pthread: work around winpthread header pollution on mingw
Eric Blake <eblake@redhat.com>
parents:
35298
diff
changeset
|
22 compilation easier for fallbacks to single-threaded programs. |
38656 | 23 Minix 3.1.8, mingw 2.x, MSVC 14, BeOS. |
39244
aa3cd60dc529
thread: Fix compilation error on IRIX.
Bruno Haible <bruno@clisp.org>
parents:
38656
diff
changeset
|
24 @item |
aa3cd60dc529
thread: Fix compilation error on IRIX.
Bruno Haible <bruno@clisp.org>
parents:
38656
diff
changeset
|
25 This header file lacks the declaration of @code{pthread_atfork} on some |
aa3cd60dc529
thread: Fix compilation error on IRIX.
Bruno Haible <bruno@clisp.org>
parents:
38656
diff
changeset
|
26 platforms: |
aa3cd60dc529
thread: Fix compilation error on IRIX.
Bruno Haible <bruno@clisp.org>
parents:
38656
diff
changeset
|
27 IRIX 6.5. |
29329
8cd0f07812b0
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 @end itemize |