(__pthread_manager) [REQ_POST]: Use __new_sem_post directly instead of
authordrepper <drepper>
Fri, 8 Oct 1999 21:52:12 +0000 (21:52 +0000)
committerdrepper <drepper>
Fri, 8 Oct 1999 21:52:12 +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 e59f980..52c541c 100644 (file)
@@ -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