Wait_support: removed the calls to mutex core to posix status codes

This commit is contained in:
Mark Johannes
1996-08-12 19:00:12 +00:00
parent 3b97b7a083
commit 9b77fee2bc
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}