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
No description provided
3.9 MiB
Languages
C++ 77.3%
C 13.9%
Assembly 5.6%
CMake 1.8%
Shell 1.4%