From e37e7eefcb0148651331d6a750846f26ecf11126 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 11 Sep 2020 22:54:38 +0200 Subject: Removed wait syscall - whoopsidoo! --- libc/inc/sys.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libc') diff --git a/libc/inc/sys.h b/libc/inc/sys.h index 1b01127..073ccd2 100644 --- a/libc/inc/sys.h +++ b/libc/inc/sys.h @@ -16,7 +16,6 @@ enum sys { SYS_EXEC, // Execute path SYS_EXIT, // Exit current process SYS_YIELD, // Switch to next process - SYS_WAIT, // Sleep until new message arrives SYS_TIME, // Get kernel time SYS_REGISTER, // Register for event SYS_UNREGISTER, // Unregister event @@ -72,7 +71,6 @@ int sysv(enum sys num, ...); } \ } #define yield() (int)sys0(SYS_YIELD) -#define wait() (int)sys0(SYS_WAIT) #define time() (int)sys0(SYS_TIME) #define event_register(id) sys1(SYS_REGISTER, (int)(id)) -- cgit v1.2.3