summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduler.h')
-rw-r--r--cpukit/score/include/rtems/score/scheduler.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h
index 9e08b23e4f..aa40e9ba9f 100644
--- a/cpukit/score/include/rtems/score/scheduler.h
+++ b/cpukit/score/include/rtems/score/scheduler.h
@@ -49,8 +49,12 @@ typedef struct {
/** Implements the scheduling decision logic (policy). */
void ( *schedule )(void);
- /** Voluntarily yields the processor per the scheduling policy. */
- void ( *yield )(void);
+ /**
+ * @brief Voluntarily yields the processor per the scheduling policy.
+ *
+ * @see _Scheduler_Yield().
+ */
+ void ( *yield )( Thread_Control *thread );
/** Removes the given thread from scheduling decisions. */
void ( *block )(Thread_Control *);