summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources/ThreadScheduler.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-24 17:30:52 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-24 17:30:52 +0200
commitfdc8aaab2ad3c2f2f3f4bb4ffb71bc2d797366aa (patch)
treeda3e628e1c4862c424a2deebae6966d6fc262592 /dev/ZKA/Sources/ThreadScheduler.cxx
parent30e5aa322bf253cdf48cddf53a1c8a1e9720e705 (diff)
[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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Sources/ThreadScheduler.cxx')
-rw-r--r--dev/ZKA/Sources/ThreadScheduler.cxx35
1 files changed, 0 insertions, 35 deletions
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 <KernelKit/ProcessScheduler.hxx>
-#include <KernelKit/MP.hxx>
-
-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;
- };
-}