mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Replace the Pausers' usage with Waiter/WaitQueue
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
822caf34f4
commit
42e28763c5
@ -22,7 +22,7 @@ pub fn sys_wait4(
|
||||
debug!("wait4 current pid = {}", ctx.process.pid());
|
||||
let process_filter = ProcessFilter::from_id(wait_pid as _);
|
||||
|
||||
let waited_process = wait_child_exit(process_filter, wait_options)?;
|
||||
let waited_process = wait_child_exit(process_filter, wait_options, ctx)?;
|
||||
let Some(process) = waited_process else {
|
||||
return Ok(SyscallReturn::Return(0 as _));
|
||||
};
|
||||
|
Reference in New Issue
Block a user