diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-10 16:32:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-23 09:13:00 +0200 |
commit | 647b95df9fa324795f3398d0562d363fd7d5079f (patch) | |
tree | 432bcc5fbc68fd6d303d8d0d47c94a1fb4ea09ba /cpukit/score/src/schedulerpriorityunblock.c | |
parent | score: Collect scheduler related fields in TCB (diff) | |
download | rtems-647b95df9fa324795f3398d0562d363fd7d5079f.tar.bz2 |
score: Use chain nodes for ready queue support
This reduces the API to the minimum data structures to maximize the
re-usability.
Diffstat (limited to 'cpukit/score/src/schedulerpriorityunblock.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityunblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerpriorityunblock.c b/cpukit/score/src/schedulerpriorityunblock.c index e83bff1abf..ef46df87e2 100644 --- a/cpukit/score/src/schedulerpriorityunblock.c +++ b/cpukit/score/src/schedulerpriorityunblock.c @@ -32,7 +32,7 @@ void _Scheduler_priority_Unblock ( Scheduler_priority_Node *node = _Scheduler_priority_Node_get( the_thread ); _Scheduler_priority_Ready_queue_enqueue( - the_thread, + &the_thread->Object.Node, &node->Ready_queue, &context->Bit_map ); |