From e55f8e9039b5be5f3750639dad0ae5058adc8449 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 13 Sep 2020 11:12:20 +0200 Subject: Less malloc in wm --- libc/inc/sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inc') diff --git a/libc/inc/sys.h b/libc/inc/sys.h index 073ccd2..839d6be 100644 --- a/libc/inc/sys.h +++ b/libc/inc/sys.h @@ -82,7 +82,7 @@ static inline struct message *msg_receive_loop() { struct message *msg; while (!(msg = msg_receive())) - ; + yield(); return msg; } -- cgit v1.2.3