mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
kernel: expose threads to userspace (newthread and threadexit syscalls)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include <kernel/syscalls.h>
|
||||
#include <kernel/scheduler.h>
|
||||
|
||||
syscallret_t syscall_threadexit(context_t *) {
|
||||
sched_threadexit();
|
||||
}
|
||||
Reference in New Issue
Block a user