summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/sigtimedwait.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-24 11:05:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-23 08:00:19 +0200
commite2735012331e7347a779888365daa3605c71cd5e (patch)
treea573ae6f29fdb58205e0991d7c3b201a45163d93 /cpukit/posix/src/sigtimedwait.c
parentbsps/arm: Update due to API changes (diff)
downloadrtems-e2735012331e7347a779888365daa3605c71cd5e.tar.bz2
score: Introduce Thread_queue_Queue
Separate the thread queue heads and lock from the operations. This enables the support for light weight objects which only support one queuing discipline.
Diffstat (limited to 'cpukit/posix/src/sigtimedwait.c')
-rw-r--r--cpukit/posix/src/sigtimedwait.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/sigtimedwait.c b/cpukit/posix/src/sigtimedwait.c
index fb8a243a0a..7a8c29ed71 100644
--- a/cpukit/posix/src/sigtimedwait.c
+++ b/cpukit/posix/src/sigtimedwait.c
@@ -156,7 +156,8 @@ int sigtimedwait(
executing->Wait.option = *set;
executing->Wait.return_argument = the_info;
_Thread_queue_Enqueue_critical(
- &_POSIX_signals_Wait_queue,
+ &_POSIX_signals_Wait_queue.Queue,
+ _POSIX_signals_Wait_queue.operations,
executing,
STATES_WAITING_FOR_SIGNAL | STATES_INTERRUPTIBLE_BY_SIGNAL,
interval,