summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-11 08:42:04 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-12 07:44:36 +0100
commitd063e7b3d8733f5d1829f5b19c99be81f567fecf (patch)
tree7e9f2018ed4a8839ce785b9ebaf3da6705c7b5be /cpukit/posix/src
parentRemove texinfo format documentation. Replaced by Sphinx formatted documentation. (diff)
downloadrtems-d063e7b3d8733f5d1829f5b19c99be81f567fecf.tar.bz2
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.
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r--cpukit/posix/src/nanosleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/nanosleep.c b/cpukit/posix/src/nanosleep.c
index 10158ff44b..13f4536f6e 100644
--- a/cpukit/posix/src/nanosleep.c
+++ b/cpukit/posix/src/nanosleep.c
@@ -49,7 +49,7 @@ static inline int nanosleep_helper(
_Thread_queue_Context_initialize( &queue_context );
_Thread_queue_Context_set_thread_state(
&queue_context,
- STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL
+ STATES_WAITING_FOR_TIME | STATES_INTERRUPTIBLE_BY_SIGNAL
);
_Thread_queue_Context_set_enqueue_callout(
&queue_context,