diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerpriority.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerpriority.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerpriority.h b/cpukit/score/include/rtems/score/schedulerpriority.h index 81c3582e76..f0582c1315 100644 --- a/cpukit/score/include/rtems/score/schedulerpriority.h +++ b/cpukit/score/include/rtems/score/schedulerpriority.h @@ -145,12 +145,12 @@ void _Scheduler_priority_Unblock( ); /** - * @brief Remove the running THREAD to the rear of this chain. + * @brief The specified THREAD yields. * * This routine is invoked when a thread wishes to voluntarily * transfer control of the processor to another thread in the queue. * - * This routine will remove the running THREAD from the ready queue + * This routine will remove the specified THREAD from the ready queue * and place it immediately at the rear of this chain. Reset timeslice * and yield the processor functions both use this routine, therefore if * reset is true and this is the only thread on the queue then the @@ -160,8 +160,10 @@ void _Scheduler_priority_Unblock( * - INTERRUPT LATENCY: * + ready chain * + select heir + * + * @param[in/out] thread The yielding thread. */ -void _Scheduler_priority_Yield( void ); +void _Scheduler_priority_Yield( Thread_Control *thread ); /** * @brief Puts @a the_thread on to the priority-based ready queue. |