Tom
788b2d64c6
Kernel: Require a reason to be passed to Thread::wait_on
...
The Lock class still permits no reason, but for everything else
require a reason to be passed to Thread::wait_on. This makes it
easier to diagnose why a Thread is in Queued state.
2020-07-06 10:00:24 +02:00
Andreas Kling
ea17d2d3da
Kernel: Remove debug spam in finalizer task
2020-07-04 13:00:48 +02:00
Tom
16783bd14d
Kernel: Turn Thread::current and Process::current into functions
...
This allows us to query the current thread and process on a
per processor basis
2020-07-01 12:07:01 +02:00
Tom
fb41d89384
Kernel: Implement software context switching and Processor structure
...
Moving certain globals into a new Processor structure for
each CPU allows us to eventually run an instance of the
scheduler on each CPU.
2020-07-01 12:07:01 +02:00
Andreas Kling
a066dd1fac
Kernel: Move sync and finalization tasks into their own files
...
Instead of clogging up the initialization sequence, put these tasks
in their own files.
2020-04-08 17:19:46 +02:00