diff options
author | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-12 19:00:12 +0000 |
---|---|---|
committer | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-12 19:00:12 +0000 |
commit | 9b77fee2bc6a973974f82bd75c2b2033649f69ea (patch) | |
tree | c575be1bdc8683dbbd0f1b3ce472c38dfbcf1a05 /c/src/exec/posix | |
parent | mutex.h: removes the promotion of core status code to POSXI status codes (diff) | |
download | rtems-9b77fee2bc6a973974f82bd75c2b2033649f69ea.tar.bz2 |
Wait_support: removed the calls to mutex core to posix status codes
Diffstat (limited to 'c/src/exec/posix')
-rw-r--r-- | c/src/exec/posix/src/cond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/cond.c b/c/src/exec/posix/src/cond.c index da45d9e2cb..955c8f01c2 100644 --- a/c/src/exec/posix/src/cond.c +++ b/c/src/exec/posix/src/cond.c @@ -380,7 +380,7 @@ int _POSIX_Condition_variables_Wait_support( status = pthread_mutex_unlock( mutex ); if ( status ) - return _POSIX_Mutex_From_core_mutex_status( status ); + return status; the_cond->Mutex = *mutex; @@ -392,7 +392,7 @@ int _POSIX_Condition_variables_Wait_support( status = pthread_mutex_lock( mutex ); if ( status ) - return _POSIX_Mutex_From_core_mutex_status( status ); + return status; return _Thread_Executing->Wait.return_code; } |