mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 06:04:17 +08:00
Fix _Assert() statement
This commit is contained in:
@@ -106,7 +106,7 @@ void _Event_Surrender(
|
||||
} else {
|
||||
_Assert(
|
||||
_Thread_Wait_flags_get( the_thread )
|
||||
== wait_class | THREAD_WAIT_STATE_BLOCKED
|
||||
== ( wait_class | THREAD_WAIT_STATE_BLOCKED )
|
||||
);
|
||||
_Thread_Wait_flags_set( the_thread, ready_again );
|
||||
unblock = true;
|
||||
|
||||
@@ -72,7 +72,7 @@ void _Thread_Timeout( Objects_Id id, void *arg )
|
||||
} else {
|
||||
_Assert(
|
||||
_Thread_Wait_flags_get( the_thread )
|
||||
== wait_class | THREAD_WAIT_STATE_BLOCKED
|
||||
== ( wait_class | THREAD_WAIT_STATE_BLOCKED )
|
||||
);
|
||||
_Thread_Wait_flags_set( the_thread, ready_again );
|
||||
unblock = true;
|
||||
|
||||
Reference in New Issue
Block a user