r/tinycode • u/rain5 • Apr 14 '18
Zircon's (Fuchsia kernel) scheduler is less than 1000 lines of code and doesn't use many advanced concepts. This may be useful to anyone curious as to what a scheduler in a real OS looks like.
https://github.com/fuchsia-mirror/zircon/blob/master/kernel/kernel/sched.c
50
Upvotes
View all comments
Show parent comment
1
u/rain5 May 04 '18
they turned it to C++ :/
https://github.com/fuchsia-mirror/zircon/blob/master/kernel/kernel/sched.cpp