aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/manager.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index bd70b19ad7..9928d82d83 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+1999-10-08 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (__pthread_manager) [REQ_POST]: Use __new_sem_post
+ directly instead of calling sem_post which should not be necessary
+ but is faster and might help in some case to work around problems.
+
1999-10-08 Andreas Schwab <schwab@suse.de>
* sysdeps/pthread/Subdirs: New file.
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index e59f98092c..52c541ce8e 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -159,7 +159,7 @@ int __pthread_manager(void *arg)
}
break;
case REQ_POST:
- sem_post(request.req_args.post);
+ __new_sem_post(request.req_args.post);
break;
case REQ_DEBUG:
/* Make gdb aware of new thread and gdb will restart the