constructor, setting up a scheduler object
set to DEFAULT_SCHEDULER_CONFIG, may use any other values
Flag indicates a non-preemptive critical section
Number of preemption points that are visited before thread must actually call yield
mostly constant configuration options for the scheduler
the currently running task
This flag forces the scheduler to reschedule immediately, before finishing the current timeslice.
How long was the scheduler active on the executor
queues for the tasks, one per priority
returns the number of elements total in all queues
Add a single-short or periodic alarm function.
The function to be callled after the delay has passed
The deay in miliseconds
Whether the alarm is enqueued again
print messages to stdout if the ''debug'' flag was set
enqueues the task into the correct queue for its priority
the task to enqueue
Execute the current thread for a single timelice
determines the next task to run, based on the highest priority
determines, whether a reschedule is necessary
pauses the scheduler, may be used nestedly
returns the next task, similar to getNextTask, without removing it from the queue
swaps the currently running task with a new one, uses needsReschedule()
re-introduces the scheduler itself to the event loop
resumes the scheduler after pausing, may be used nestedly
Used by tasks to spawn new tasks, sets the currently running one as the parent
the child task
Generated using TypeDoc
implementation of a fixed priority scheduler, based on Scheduler implements RMS scheme