From a4851206bef5ceecef18b3fde5be6918a67cca21 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 21 May 2022 21:23:12 +0300 Subject: add create syscall for threads --- include/apos/syscalls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/apos/syscalls.h') diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h index b8553bc..9346da3 100644 --- a/include/apos/syscalls.h +++ b/include/apos/syscalls.h @@ -29,8 +29,10 @@ enum { SYS_IPC_RESP, /* IPC response from server */ /* process management */ + SYS_CREATE, /* create new thread */ SYS_FORK, /* duplicate process */ SYS_EXEC, /* execute new binary in process space */ + SYS_KILL, /* kill thread */ SYS_SIGNAL, /* send signal to process (kill etc.) */ SYS_SWITCH, /* switch running process */ -- cgit v1.3