wip: multitasking: add status forked

This commit is contained in:
2025-02-03 13:11:38 +01:00
parent 18486a6705
commit 7b7cc86999
5 changed files with 49 additions and 21 deletions

View File

@ -43,10 +43,13 @@ static void owo(void)
static void awa(void)
{
if (fork() < 0)
u32 pid = fork();
PRINT_INT(pid);
if (pid < 0)
kprintf("camille il a une grosse bite (18cm)\n");
kprintf("awaille\n");
wait();
if (pid)
wait();
}
void kernel_main(multiboot_info_t *mbd, u32 magic)