Changeset 7828f1c3 in rtems


Ignore:
Timestamp:
Nov 25, 2015, 6:55:00 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11
Children:
2a9db26
Parents:
a6d176f
git-author:
Sebastian Huber <sebastian.huber@…> (11/25/15 06:55:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/25/15 07:36:04)
Message:

Fix _Assert() statement

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/eventsurrender.c

    ra6d176f r7828f1c3  
    107107      _Assert(
    108108        _Thread_Wait_flags_get( the_thread )
    109           == wait_class | THREAD_WAIT_STATE_BLOCKED
     109          == ( wait_class | THREAD_WAIT_STATE_BLOCKED )
    110110      );
    111111      _Thread_Wait_flags_set( the_thread, ready_again );
  • cpukit/score/src/threadtimeout.c

    ra6d176f r7828f1c3  
    7373      _Assert(
    7474        _Thread_Wait_flags_get( the_thread )
    75           == wait_class | THREAD_WAIT_STATE_BLOCKED
     75          == ( wait_class | THREAD_WAIT_STATE_BLOCKED )
    7676      );
    7777      _Thread_Wait_flags_set( the_thread, ready_again );
Note: See TracChangeset for help on using the changeset viewer.