Changeset d063e7b3 in rtems for cpukit/posix/src/nanosleep.c


Ignore:
Timestamp:
Jan 11, 2017, 7:42:04 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 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/posix/src/nanosleep.c

    r48a7fa3 rd063e7b3  
    5050  _Thread_queue_Context_set_thread_state(
    5151    &queue_context,
    52     STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL
     52    STATES_WAITING_FOR_TIME | STATES_INTERRUPTIBLE_BY_SIGNAL
    5353  );
    5454  _Thread_queue_Context_set_enqueue_callout(
Note: See TracChangeset for help on using the changeset viewer.