mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user