aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/ChangeLog
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/ChangeLog
parent639c6286de5391c9accf0ecb9f944efe7ed980b8 (diff)
downloadglibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.tar
glibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.tar.gz
glibc-93414bb97c8d4af09fbc6ed493e5c904f27a5173.tar.bz2
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/ChangeLog')
-rw-r--r--linuxthreads/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 8a0310dadb..551fbce21b 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,23 @@
2000-05-06 Kaz Kylheku <kaz@ashi.footprints.net>
+ * mutex.c (pthread_once): IN_PROGRESS state of pthread_once_t
+ object state is represented with additional bits which distinguish
+ whether that state was set up in the current process, or
+ in an ancestor process. If that state was set in an ancestor,
+ it means that a fork happened while thread was executing the init
+ function. In that case, the state is reset to NEVER.
+ * mutex.c (__pthread_once_fork_prepare): New function.
+ (__pthread_once_fork_child): Likewise
+ (__pthread_once_fork_parent): Likewise
+ (__pthread_reset_pthread_once): Removed.
+ * ptfork.c (__fork): Call new handlers in mutex.c.
+ * internals.h: Declarations of new mutex.c functions added.
+ Declaration of removed function deleted.
+ * linuxthreads.texi: Updated documentation about pthread_once
+ to clarify what happens under cancellation and forking.
+
+2000-05-06 Kaz Kylheku <kaz@ashi.footprints.net>
+
* internals.h: New thread manager request type, REQ_KICK.
* join.c (pthread_exit): main thread now calls exit() instead
of _exit() in order to proper process cleanup.