Fix _Assert() statement

This commit is contained in:
Sebastian Huber
2015-11-25 07:55:00 +01:00
parent f6a1ef9fdb
commit 8ce0b0cb19
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;