|
PatchworkOS
da8a090
A non-POSIX operating system.
|
Per-thread scheduler context. More...
#include <sched.h>
Data Fields | |
| rbnode_t | node |
| The node in the scheduler's runqueue. | |
| int64_t | weight |
| The weight of the thread. | |
| vclock_t | vdeadline |
| vclock_t | veligible |
| The virtual time at which the thread becomes eligible to run (lag >= 0). | |
| vclock_t | vminEligible |
| The minimum virtual eligible time of the subtree in the runqueue. | |
| clock_t | stop |
| The real time when the thread previously stopped executing. | |
| cpu_t * | lastCpu |
The last CPU the thread was scheduled on, it stoped running at stop time. | |
Per-thread scheduler context.
Stored in a thread's sched member.
| rbnode_t sched_client_t::node |
| vclock_t sched_client_t::vdeadline |
| vclock_t sched_client_t::veligible |
| vclock_t sched_client_t::vminEligible |
| clock_t sched_client_t::stop |
| cpu_t* sched_client_t::lastCpu |