mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 15:06:52 -04:00
Reduce time quanta
This commit is contained in:
parent
e63efd0aa2
commit
d4dd4bdd9c
@ -63,11 +63,10 @@ mutex& run_queue_lock(size_t priority){
|
||||
|
||||
bool started = false;
|
||||
|
||||
constexpr const size_t QUANTUM_SIZE = 100;
|
||||
constexpr const size_t TURNOVER = 10;
|
||||
|
||||
constexpr const size_t STACK_ALIGNMENT = 16;
|
||||
|
||||
constexpr const size_t QUANTUM_SIZE = 1000;
|
||||
size_t current_ticks = 0;
|
||||
|
||||
size_t current_pid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user