]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__pthread_manager) [REQ_POST]: Use __new_sem_post directly instead of
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Oct 1999 21:52:41 +0000 (21:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Oct 1999 21:52:41 +0000 (21:52 +0000)
calling sem_post which should not be necessary but is faster and might
help in some case to work around problems.

linuxthreads/manager.c

index f1a589940477b5c1e8f08aa1132a50f58c879fb3..f78e14c55b323285cde58b7f1a2b2ddf1cd7763c 100644 (file)
@@ -156,7 +156,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