From ba7bb29ce20702168ad89aeea445ce0e8ef95da8 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 16 Jul 2020 10:16:42 +0800 Subject: [PATCH] kernel: don't block on full queue for Scalar/Move msgs For Scalar and Move messages, the client does not need to block if the server does not have any waiting messages. In this case, send an `Ok` response. Signed-off-by: Sean Cross --- kernel/src/syscall.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/kernel/src/syscall.rs b/kernel/src/syscall.rs index 09395376e..b573aedc2 100644 --- a/kernel/src/syscall.rs +++ b/kernel/src/syscall.rs @@ -465,9 +465,7 @@ pub fn handle(pid: PID, call: SysCall) -> core::result::Result core::result::Result