From 15b5678dcd72a11909a54b63ddc8e57869d63244 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Aug 2016 11:03:16 +0200 Subject: score: Move thread wait node to scheduler node Update #2556. --- cpukit/posix/src/killinfo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/src') diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c index b7f0354a0b..2e7bacbb78 100644 --- a/cpukit/posix/src/killinfo.c +++ b/cpukit/posix/src/killinfo.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -150,8 +151,10 @@ int _POSIX_signals_Send( for ( the_node = _Chain_First( the_chain ); !_Chain_Is_tail( the_chain, the_node ) ; the_node = the_node->next ) { + Scheduler_Node *scheduler_node; - the_thread = THREAD_CHAIN_NODE_TO_THREAD( the_node ); + scheduler_node = SCHEDULER_NODE_OF_WAIT_CHAIN_NODE( the_node ); + the_thread = _Scheduler_Node_get_owner( scheduler_node ); api = the_thread->API_Extensions[ THREAD_API_POSIX ]; #if defined(DEBUG_SIGNAL_PROCESSING) -- cgit v1.2.3