Scheduling information structure. More...
Data Fields | |
xnflags_t | status |
xnthread_t * | runthread |
xnarch_cpumask_t | resched |
xnsched_queue_t | readyq |
volatile unsigned | inesting |
xnthread_t | rootcb |
xntimer_t | htimer |
Scheduling information structure.
xntimer_t xnsched::htimer |
Host timer.
Referenced by xnpod_enable_timesource(), xnpod_init(), xnpod_shutdown(), and xntimer_tick_aperiodic().
volatile unsigned xnsched::inesting |
Interrupt nesting level.
Referenced by xnpod_init().
xnsched_queue_t xnsched::readyq |
Ready-to-run threads (prioritized).
Referenced by xnpod_delete_thread(), xnpod_init(), xnpod_preempt_current_thread(), xnpod_resume_thread(), xnpod_rotate_readyq(), xnpod_schedule(), xnpod_schedule_runnable(), and xnpod_suspend_thread().
xnarch_cpumask_t xnsched::resched |
Mask of CPUs needing rescheduling.
xnthread_t xnsched::rootcb |
Root thread control block.
Referenced by xnpod_init(), and xnpod_shutdown().
xnthread_t* xnsched::runthread |
Current thread (service or user).
Referenced by xnpod_delete_thread(), xnpod_do_rr(), xnpod_init(), xnpod_preempt_current_thread(), xnpod_resume_thread(), xnpod_rotate_readyq(), xnpod_schedule(), xnpod_schedule_runnable(), and xnpod_suspend_thread().
xnflags_t xnsched::status |
Scheduler specific status bitmask
Referenced by xnpod_init(), xnpod_schedule(), and xntimer_tick_aperiodic().