Go to file
Bananymous d90aba0963 Kernel: Create CriticalScope and fix kmalloc
This disables interrupts for the current scope and restores them
after the scope. This is used in kmalloc, since scheduler might
call into kmalloc/kfree, but deadlock if some thread is currently
trying to allocate. This allows us to use kmalloc in Scheduler.
2023-03-08 13:55:53 +02:00
2023-03-06 23:38:05 +02:00
2023-02-05 18:08:40 +02:00
Description
Hobby operating system for x86_64
BSD-2-Clause 22 MiB
Languages
C++ 87.2%
C 6.2%
Assembly 2.7%
Shell 2.5%
CMake 1.4%