Revise PID and TID generation to align with standards

This commit is contained in:
EnderIce2
2024-03-02 00:51:06 +02:00
parent 525a102f20
commit d3a16469ad
9 changed files with 27 additions and 20 deletions

View File

@ -474,7 +474,6 @@ namespace Tasking
NewLock(TaskingLock);
PID NextPID = 0;
TID NextTID = 0;
PCB *KernelProcess = nullptr;
@ -546,7 +545,7 @@ namespace Tasking
PCB *GetProcessByID(PID ID);
TCB *GetThreadByID(TID ID);
TCB *GetThreadByID(TID ID, PCB* Parent);
/** Wait for process to terminate */
void WaitForProcess(PCB *pcb);