summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthread.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 19:50:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 19:50:15 +0000
commit65911c32fb3077d5a6014fe95e5615fd0b8526d0 (patch)
tree8e07f79e00c923c424c7115e962e2bd25cdf677a /cpukit/posix/src/pthread.c
parentmade sure routines which called _Objects_Get also called (diff)
downloadrtems-65911c32fb3077d5a6014fe95e5615fd0b8526d0.tar.bz2
made sure _Thread_Enable_dispatch is not invoked in cases
where _Objects_Get failed
Diffstat (limited to 'cpukit/posix/src/pthread.c')
-rw-r--r--cpukit/posix/src/pthread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index 0b456355eb..41725a31e5 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/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;
}