diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-21 21:23:12 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-21 21:23:12 +0300 |
| commit | a4851206bef5ceecef18b3fde5be6918a67cca21 (patch) | |
| tree | 6d9a817a8e59687ef4e45388d310b9beda2ba335 /include/apos/syscalls.h | |
| parent | 8da0171e5ca3492cdb34422184a1c96acd0b5165 (diff) | |
| download | kmi-a4851206bef5ceecef18b3fde5be6918a67cca21.tar.gz kmi-a4851206bef5ceecef18b3fde5be6918a67cca21.zip | |
add create syscall for threads
Diffstat (limited to 'include/apos/syscalls.h')
| -rw-r--r-- | include/apos/syscalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |
