|
ginnOS
The reference: libc, the libraries and the kernel
|
the scheduler: give up the CPU. More...
Go to the source code of this file.
Data Structures | |
| struct | sched_param |
Macros | |
| #define | SCHED_OTHER 0 |
| #define | SCHED_FIFO 1 |
| #define | SCHED_RR 2 |
Functions | |
| int | sched_yield (void) |
| give the CPU to another thread that is ready to run. | |
| int | sched_get_priority_min (int policy) |
| the range of priorities of a policy: 0 to 0 for SCHED_OTHER, 1 to 99 for the real-time policies (as on Linux). | |
| int | sched_get_priority_max (int policy) |
the scheduler: give up the CPU.
ginnOS has one policy for all processes (the nice value changes the share of each).
| #define SCHED_OTHER 0 |
| #define SCHED_FIFO 1 |
| #define SCHED_RR 2 |
| int sched_yield | ( | void | ) |
give the CPU to another thread that is ready to run.
| int sched_get_priority_min | ( | int | policy | ) |
the range of priorities of a policy: 0 to 0 for SCHED_OTHER, 1 to 99 for the real-time policies (as on Linux).
| int sched_get_priority_max | ( | int | policy | ) |