aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inc/sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inc/sys.h b/libc/inc/sys.h
index 7c3e6fb..073ccd2 100644
--- a/libc/inc/sys.h
+++ b/libc/inc/sys.h
@@ -67,6 +67,7 @@ int sysv(enum sys num, ...);
{ \
sys1(SYS_EXIT, (int)status); \
while (1) { \
+ yield(); \
} \
}
#define yield() (int)sys0(SYS_YIELD)