banan-os/kernel
Bananymous 3c6be319b1 Kernel: Restructure process and thread termination
When we want to kill a process, we mark its threads as Terminating
or Terminated. If the thread is in critical section that has to be
finished, it will be in Terminating state until done. Once Scheduler
is trying to execute Terminated thread it will instead delete it.

Once processes last thread is marked Terminated, the processes will
turn it into a cleanup thread, that will allow blocks and memory
cleanup to be done.
2023-07-28 18:06:20 +03:00
..
arch Kernel: Change signal kernel API 2023-07-23 18:33:10 +03:00
font BuildSystem: building for 32-bit works now 2023-04-02 05:03:17 +03:00
include/kernel Kernel: Restructure process and thread termination 2023-07-28 18:06:20 +03:00
kernel Kernel: Restructure process and thread termination 2023-07-28 18:06:20 +03:00
CMakeLists.txt Kernel: Userspace signal handlers are now called one at a time 2023-07-23 13:34:53 +03:00
icxxabi.cpp Kernel: Add some more cxxabi functionality 2023-02-02 15:50:26 +02:00
ubsan.cpp Kernel: Add ubsan 2023-03-06 23:38:05 +02:00