Ignore:
Timestamp:
Jan 11, 2017, 7:42:04 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
fa9f964f
Parents:
48a7fa3
git-author:
Sebastian Huber <sebastian.huber@…> (01/11/17 07:42:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/12/17 06:44:36)
Message:

score: Replace STATES_DELAYING

Replace STATES_DELAYING with STATES_WAITING_FOR_TIME.

There is no need for separate timeout thread states. The
Thread_Control::Timer::header and Watchdog_Control::cpu members can be
used to figure out the kind of timeout.

File:
1 edited

Legend:

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

    r48a7fa3 rd063e7b3  
    4040      _Thread_Yield( executing );
    4141    } else {
    42       _Thread_Set_state( executing, STATES_DELAYING );
     42      _Thread_Set_state( executing, STATES_WAITING_FOR_TIME );
    4343      _Thread_Wait_flags_set( executing, THREAD_WAIT_STATE_BLOCKED );
    4444      _Thread_Timer_insert_relative(
Note: See TracChangeset for help on using the changeset viewer.