summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqflush.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/score/src/threadqflush.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/score/src/threadqflush.c')
-rw-r--r--cpukit/score/src/threadqflush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqflush.c b/cpukit/score/src/threadqflush.c
index d37b9e8ae7..530941b13b 100644
--- a/cpukit/score/src/threadqflush.c
+++ b/cpukit/score/src/threadqflush.c
@@ -43,7 +43,8 @@ void _Thread_queue_Flush(
the_thread->Wait.return_code = status;
_Thread_queue_Extract_critical(
- the_thread_queue,
+ &the_thread_queue->Queue,
+ the_thread_queue->operations,
the_thread,
&lock_context
);