mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
Refactored linux_getpid for easier debugging
This commit is contained in:
parent
4d201a5264
commit
b783e8b88f
@ -1120,7 +1120,8 @@ static int linux_nanosleep(SysFrm *,
|
|||||||
|
|
||||||
static pid_t linux_getpid(SysFrm *)
|
static pid_t linux_getpid(SysFrm *)
|
||||||
{
|
{
|
||||||
return thisProcess->ID;
|
PCB *pcb = thisProcess;
|
||||||
|
return pcb->ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int linux_setitimer(SysFrm *, int which,
|
static int linux_setitimer(SysFrm *, int which,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user