Function wait

Source
pub fn wait(pid: u64) -> Result<i8, SysError>
Available on non-crate feature native-simulator only.
Expand description

The syscall pauses until the execution of a process specified by pid has ended. Note: available after ckb 2nd hardfork.

ยงArguments

  • pid - process id

Returns exit code.