forked from Bananymous/banan-os
3c6be319b1
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. |
||
---|---|---|
.. | ||
arch | ||
font | ||
include/kernel | ||
kernel | ||
CMakeLists.txt | ||
icxxabi.cpp | ||
ubsan.cpp |