diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-11 14:31:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-08 16:30:48 +0200 |
commit | 8568341d69d16609a3dcf71716a89839b16ac881 (patch) | |
tree | 900c88db84557962dda75671eedd39911e1f2dc5 /cpukit/score/include/rtems/score/schedulersimple.h | |
parent | score: Add _Scheduler_Help() (diff) | |
download | rtems-8568341d69d16609a3dcf71716a89839b16ac881.tar.bz2 |
score: Need for help indicator for scheduler ops
Return a thread in need for help for the following scheduler operations
- unblock,
- change priority, and
- yield.
A thread in need for help is a thread that encounters a scheduler state
change from scheduled to ready or a thread that cannot be scheduled in
an unblock operation. Such a thread can ask threads which depend on
resources owned by this thread for help.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulersimple.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersimple.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersimple.h b/cpukit/score/include/rtems/score/schedulersimple.h index ef60613d1b..c97ad2f3c6 100644 --- a/cpukit/score/include/rtems/score/schedulersimple.h +++ b/cpukit/score/include/rtems/score/schedulersimple.h @@ -101,7 +101,7 @@ void _Scheduler_simple_Schedule( * * @param[in,out] thread The yielding thread. */ -void _Scheduler_simple_Yield( +Scheduler_Void_or_thread _Scheduler_simple_Yield( const Scheduler_Control *scheduler, Thread_Control *the_thread ); @@ -130,12 +130,12 @@ void _Scheduler_simple_Block( * * @param[in] the_thread is the thread that is to be unblocked */ -void _Scheduler_simple_Unblock( +Scheduler_Void_or_thread _Scheduler_simple_Unblock( const Scheduler_Control *scheduler, Thread_Control *the_thread ); -void _Scheduler_simple_Change_priority( +Scheduler_Void_or_thread _Scheduler_simple_Change_priority( const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Control new_priority, |