From 65911c32fb3077d5a6014fe95e5615fd0b8526d0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 4 Jun 1996 19:50:15 +0000 Subject: made sure _Thread_Enable_dispatch is not invoked in cases where _Objects_Get failed --- c/src/exec/posix/src/pthread.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'c/src/exec/posix/src') diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c index 0b456355eb..41725a31e5 100644 --- a/c/src/exec/posix/src/pthread.c +++ b/c/src/exec/posix/src/pthread.c @@ -393,7 +393,6 @@ int pthread_getschedparam( switch ( location ) { case OBJECTS_ERROR: case OBJECTS_REMOTE: - _Thread_Enable_dispatch(); return ESRCH; case OBJECTS_LOCAL: api = the_thread->API_Extensions[ THREAD_API_POSIX ]; @@ -434,7 +433,6 @@ int pthread_setschedparam( switch ( location ) { case OBJECTS_ERROR: case OBJECTS_REMOTE: - _Thread_Enable_dispatch(); return ESRCH; case OBJECTS_LOCAL: switch ( policy ) { @@ -857,7 +855,6 @@ int pthread_detach( switch ( location ) { case OBJECTS_ERROR: case OBJECTS_REMOTE: - _Thread_Enable_dispatch(); return ESRCH; case OBJECTS_LOCAL: @@ -968,7 +965,6 @@ int pthread_equal( _Thread_Enable_dispatch(); return status; - } /*PAGE @@ -1003,7 +999,6 @@ int pthread_once( } _Thread_Enable_dispatch(); - return 0; } -- cgit v1.2.3