Added commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully

no one will ever get confused here again and try to enable dispatching. :(
This commit is contained in:
Joel Sherrill
1997-03-08 03:47:34 +00:00
parent aea06ed443
commit 5cdcbd22d1
2 changed files with 8 additions and 0 deletions

View File

@@ -426,6 +426,10 @@ int _POSIX_Condition_variables_Wait_support(
else
status = ETIMEDOUT;
/*
* When we get here the dispatch disable level is 0.
*/
mutex_status = pthread_mutex_lock( mutex );
if ( mutex_status )
return EINVAL;

View File

@@ -426,6 +426,10 @@ int _POSIX_Condition_variables_Wait_support(
else
status = ETIMEDOUT;
/*
* When we get here the dispatch disable level is 0.
*/
mutex_status = pthread_mutex_lock( mutex );
if ( mutex_status )
return EINVAL;