mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
add a function that gets called after every system call and make all threads quit on program exit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#include <kernel/sched.h>
|
||||
|
||||
void postsyscall(){
|
||||
sched_threadexitcheck();
|
||||
}
|
||||
Reference in New Issue
Block a user