diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index 0496a7a802..d50980d4db 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -20,6 +20,7 @@ #define _RTEMS_SCORE_THREADIMPL_H #include <rtems/score/thread.h> +#include <rtems/score/isr.h> #include <rtems/score/objectimpl.h> #include <rtems/score/statesimpl.h> @@ -657,6 +658,12 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_if_necessary( } } +RTEMS_INLINE_ROUTINE void _Thread_Signal_notification( Thread_Control *thread ) +{ + if ( _ISR_Is_in_progress() && _Thread_Is_executing( thread ) ) + _Thread_Dispatch_necessary = true; +} + #if !defined(__DYNAMIC_REENT__) /** * This routine returns the C library re-enterant pointer. |