SysWaitForProcess

Table of Contents

SysWaitForProcess

Description

Wait for a process to complete with optional timeout.

Parameters

NameDirectionDescription
proc_infoinProcess information object.
timeout_msinTimeout in milliseconds, 0 for infinite wait.

Success

Returns process status.

Failure

Returns SYS_PROC_STATUS_ERROR on error.

Usage example (Cross-references)

    }
    
    SysProcStatus SysWaitForProcess(SysProcInfo* proc_info, u32 timeout_ms) {
    if (!proc_info) {
    return SYS_PROC_STATUS_ERROR;

Share :

Related Posts

SysGetDirContents

SysGetDirContents Description Read directory contents into a vector. Current contents of the vector will be cleared out.

Read More

SysGetCurrentProcessId

SysGetCurrentProcessId Description Platform independent method to get current process Id.

Read More

SysGetFileSize

SysGetFileSize Description Get size of file without opening it.

Read More