summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/ProcessManager.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-24 09:04:34 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-24 09:04:34 +0100
commit917eae9453ecac6d9aeb04254d5d5c97e5a6c9e1 (patch)
tree767f6aeabb24f02c119e073e3efd2c710aabed5d /Private/Source/ProcessManager.cxx
parent5563deabd8f7ce3fc713ea23f8cf5bbac33b4024 (diff)
Kernel: MS-1: Microkernel and bootloader.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/ProcessManager.cxx')
-rw-r--r--Private/Source/ProcessManager.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Private/Source/ProcessManager.cxx b/Private/Source/ProcessManager.cxx
index 46533f00..4a51acc0 100644
--- a/Private/Source/ProcessManager.cxx
+++ b/Private/Source/ProcessManager.cxx
@@ -21,9 +21,7 @@
///! bugs = 0
/***********************************************************************************/
-/* This file handles
- * The preemptive multitasking of the OS.
- * For MT see SMPManager. */
+/* This file handles the process scheduling.
/***********************************************************************************/
namespace HCore {
@@ -39,7 +37,7 @@ const Int32 &rt_get_exit_code() noexcept { return kExitCode; }
void Process::Crash() {
kcout << this->Name << ": Crashed, ExitCode: -1\n";
- MUST_PASS(ke_bug_check());
+ MUST_PASS(!ke_bug_check());
this->Exit(-1);
}