From: Bruno Haible <bruno@clisp.org>
Date: Mon, 15 Jul 2019 01:10:38 +0000 (+0200)
Subject: doc: Update info about <pthread.h>.
X-Git-Tag: v1.0~4736
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d60d9c02609016e91ad349fad6fb46ee2472e768;p=gnulib.git

doc: Update info about <pthread.h>.

* doc/posix-headers/pthread.texi: Mention the module 'pthread-h' instead
of 'pthread'.
---

diff --git a/ChangeLog b/ChangeLog
index 81c9229042..502c7868c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-07-14  Bruno Haible  <bruno@clisp.org>
+
+	doc: Update info about <pthread.h>.
+	* doc/posix-headers/pthread.texi: Mention the module 'pthread-h' instead
+	of 'pthread'.
+
 2019-07-14  Bruno Haible  <bruno@clisp.org>
 
 	pthread_sigmask tests: Use new multithread modules.
diff --git a/doc/posix-headers/pthread.texi b/doc/posix-headers/pthread.texi
index aada21db0a..2364ef1840 100644
--- a/doc/posix-headers/pthread.texi
+++ b/doc/posix-headers/pthread.texi
@@ -3,11 +3,17 @@
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html}
 
-Gnulib module: pthread
+Gnulib module: pthread-h
 
 Portability problems fixed by Gnulib:
 @itemize
 @item
+This header file is missing on some platforms.
+Minix 3.1.8, mingw 2.x, MSVC 14.
+But the provided replacement covers only the essential POSIX threads API.
+Furthermore it is just a dummy on some of these platforms:
+Minix 3.1.8.
+@item
 This header pollutes the namespace with some broken macro
 implementations for various functions such as @code{strtok_r} and
 @code{gmtime_r}:
@@ -17,11 +23,6 @@ mingw 3.0.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-This header file is missing on some platforms; the replacement does
-not offer threads, so much as lightweight stubs that make conditional
-compilation easier for fallbacks to single-threaded programs.
-Minix 3.1.8, mingw 2.x, MSVC 14.
-@item
 This header file lacks the declaration of @code{pthread_atfork} on some
 platforms:
 IRIX 6.5.