diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-24 12:02:20 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-19 12:00:45 +0200 |
commit | cc366ec8c9ecaab838a745175a0d53a7a5db437e (patch) | |
tree | 330c714baf220f30a07ea57bd08c545a072a12d3 /cpukit/score/src/threadqfirst.c | |
parent | score: More thread queue operations (diff) | |
download | rtems-cc366ec8c9ecaab838a745175a0d53a7a5db437e.tar.bz2 |
score: New thread queue implementation
Use thread wait flags for synchronization. The enqueue operation is now
part of the initial critical section. This is the key change and
enables fine grained locking on SMP for objects using a thread queue
like semaphores and message queues.
Update #2273.
Diffstat (limited to 'cpukit/score/src/threadqfirst.c')
-rw-r--r-- | cpukit/score/src/threadqfirst.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cpukit/score/src/threadqfirst.c b/cpukit/score/src/threadqfirst.c index 553b28bf62..c46f005c3e 100644 --- a/cpukit/score/src/threadqfirst.c +++ b/cpukit/score/src/threadqfirst.c @@ -20,13 +20,6 @@ #include <rtems/score/threadqimpl.h> -Thread_Control *_Thread_queue_First_locked( - Thread_queue_Control *the_thread_queue -) -{ - return ( *the_thread_queue->operations->first )( the_thread_queue ); -} - Thread_Control *_Thread_queue_First( Thread_queue_Control *the_thread_queue ) |