mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: syscall: send WouldBlock to retry messages
This is handled by the client library to re-send the request. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
693800ac9d
commit
e3cb05baf5
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ fn retry_syscall(pid: PID, tid: TID) -> SysCallResult {
|
||||||
arch::process::Process::with_current_mut(|p| p.retry_instruction(tid))?;
|
arch::process::Process::with_current_mut(|p| p.retry_instruction(tid))?;
|
||||||
do_yield(pid, tid)
|
do_yield(pid, tid)
|
||||||
} else {
|
} else {
|
||||||
Ok(xous_kernel::Result::Ok)
|
Ok(xous_kernel::Result::WouldBlock)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue