summary refs log tree commit diff
path: root/linuxthreads/linuxthreads.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-08 00:03:03 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-08 00:03:03 +0000
commit93414bb97c8d4af09fbc6ed493e5c904f27a5173 (patch)
treeacc768bf3ed48a4cc8df3e31b97e63c42d5b13a3 /linuxthreads/linuxthreads.texi
parent639c6286de5391c9accf0ecb9f944efe7ed980b8 (diff)
downloadglibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.tar.gz
glibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.tar.xz
glibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.zip
Update.
2000-05-07  H.J. Lu  <hjl@gnu.org>

	* csu/initfini.c: Moved to ....
	* sysdeps/generic/initfini.c: ...here.

	* csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
Diffstat (limited to 'linuxthreads/linuxthreads.texi')
-rw-r--r--linuxthreads/linuxthreads.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/linuxthreads/linuxthreads.texi b/linuxthreads/linuxthreads.texi
index 7a98103b3e..2b3647aed0 100644
--- a/linuxthreads/linuxthreads.texi
+++ b/linuxthreads/linuxthreads.texi
@@ -1368,6 +1368,15 @@ record that initialization has been performed. Subsequent calls to
 @code{pthread_once} with the same @code{once_control} argument do
 nothing.
 
+If a thread is cancelled while executing @var{init_routine}
+the state of the @var{once_control} variable is reset so that
+a future call to @code{pthread_once} will call the routine again.
+
+If the process forks while one or more threads are executing
+@code{pthread_once} initialization routines, the states of their respective
+@var{once_control} variables will appear to be reset in the child process so
+that if the child calls @code{pthread_once}, the routines will be executed.
+
 @code{pthread_once} always returns 0.
 @end deftypefun