From fdc8aaab2ad3c2f2f3f4bb4ffb71bc2d797366aa Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 24 Aug 2024 17:30:52 +0200 Subject: [IMP] Better kernel design. + If the process has a parent, and it's exited, that means that the thread must go down as well. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Sources/ThreadScheduler.cxx | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 dev/ZKA/Sources/ThreadScheduler.cxx (limited to 'dev/ZKA/Sources/ThreadScheduler.cxx') diff --git a/dev/ZKA/Sources/ThreadScheduler.cxx b/dev/ZKA/Sources/ThreadScheduler.cxx deleted file mode 100644 index a38ff9bc..00000000 --- a/dev/ZKA/Sources/ThreadScheduler.cxx +++ /dev/null @@ -1,35 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#include -#include - -namespace Kernel::Detail -{ - /// \brief Process thread information. - struct THREAD_HEADER_BLOCK final - { - STATIC constexpr SizeT cMaxLen = 256; - - // Status - Char fName[cMaxLen] = { "THREAD #0 (PROCESS 0)" }; - - ProcessStatus fThreadStatus; - - // Information - Int64 fThreadID; - - // Code buffers. - UIntPtr fCode; - UIntPtr fStack; - UIntPtr fBSS; - UIntPtr fProcessHeader; - - // CG video buffer and it's size. - UIntPtr fTGB; - UIntPtr fTGBSize; - }; -} -- cgit v1.2.3