...
You can however, pick any subsystem of an RTOS and represent that in some fashion.
Kernel Threads
Wiki Markup |
---|
There are some RTOS functions that are implemented by internal threads \[to be provided]. |
The Scheduler
Schedulers and Operating Systems
...
The state of a thread can then be easily represented with this simple state transition diagram:
Wiki Markup |
---|
\[to be provided] |
Scheduling Policies
In order to be a real-time OS, an RTOS must support SCHED_FIFO
. That is, strict priority scheduling. The thread with the highest priority runs.... Period. The thread with the highest priority is always associated with the TCB at the head of the g_readytorun
list.
...