diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-01 11:03:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-08 09:55:27 +0200 |
commit | 15b5678dcd72a11909a54b63ddc8e57869d63244 (patch) | |
tree | 52c2f9c120d1e7fefc954837e32f7b1038d052ab /cpukit/posix/src/killinfo.c | |
parent | score: Move scheduler node to own header file (diff) | |
download | rtems-15b5678dcd72a11909a54b63ddc8e57869d63244.tar.bz2 |
score: Move thread wait node to scheduler node
Update #2556.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/killinfo.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <rtems/posix/pthreadimpl.h> #include <rtems/posix/psignalimpl.h> #include <rtems/score/isr.h> +#include <rtems/score/schedulerimpl.h> #include <rtems/score/statesimpl.h> #include <rtems/seterr.h> @@ -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) |