For now this can only sleep in increments of the scheduler quantum (currently 50ms). It also uses a somewhat ineffecient way of tracking the sleeping threads - it will scale linearly with the number of sleeping threads. |
||
|---|---|---|
| .. | ||
| cleanup.cpp | ||
| cleanup.h | ||
| context_switch.s | ||
| jump_user_space.s | ||
| process_manager.cpp | ||
| process_manager.h | ||
| scheduler.cpp | ||
| scheduler.h | ||