diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-23 10:46:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:41 +0100 |
commit | 36d7abad13474c6c7211dc07643287747d4594bb (patch) | |
tree | 471ebfe6a8c598b9773b2d4dac050c7f55d2f65e /cpukit/score/src/threadqops.c | |
parent | score: Add _Scheduler_Node_get_scheduler() (diff) | |
download | rtems-36d7abad13474c6c7211dc07643287747d4594bb.tar.bz2 |
score: Add _Thread_Scheduler_add_wait_node()
Update #2556.
Diffstat (limited to 'cpukit/score/src/threadqops.c')
-rw-r--r-- | cpukit/score/src/threadqops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c index c0e0f67977..31b5875c4a 100644 --- a/cpukit/score/src/threadqops.c +++ b/cpukit/score/src/threadqops.c @@ -1207,10 +1207,7 @@ static void _Thread_queue_Priority_inherit_do_surrender_add( scheduler_node = SCHEDULER_NODE_OF_WAIT_PRIORITY( priority_aggregation ); the_thread = arg; - _Chain_Append_unprotected( - &the_thread->Scheduler.Wait_nodes, - &scheduler_node->Thread.Wait_node - ); + _Thread_Scheduler_add_wait_node( the_thread, scheduler_node ); _Scheduler_Node_set_priority( scheduler_node, _Priority_Get_priority( priority_aggregation ), |