RTEMS 6.3
Loading...
Searching...
No Matches
threadresettimeslice.c File Reference

This source file contains the definition of _Thread_CPU_budget_reset_timeslice and the implementation of _Thread_CPU_budget_consume_and_yield() and _Thread_CPU_budget_set_to_ticks_per_timeslice(). More...

Functions

void _Thread_CPU_budget_consume_and_yield (Thread_Control *the_thread)
 Consumes one time quantum of the available CPU budget of the thread and yields the thread if the available CPU budget is fully consumed.
void _Thread_CPU_budget_set_to_ticks_per_timeslice (Thread_Control *the_thread)
 Sets the available CPU budget of the thread to the configured clock ticks per timeslice.

Variables

const Thread_CPU_budget_operations _Thread_CPU_budget_reset_timeslice
 These CPU budget operations allocate timeslices to the thread.

Detailed Description