aboutsummaryrefslogtreecommitdiff
path: root/libc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc')
-rw-r--r--libc/inc/sys.h2
1 files changed, 1 insertions, 1 deletions
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;
}