RTI Connext Micro C++ API Version 4.2.0
Loading...
Searching...
No Matches
OSAPI Process

Abstract Process API. More...

Functions

OSPSLDllExport RTI_BOOL OSAPI_Process_is_alive (OSAPI_ProcessId pid)
 Returns true if a process is alive.
 
OSPSLDllExport OSAPI_ProcessId OSAPI_Process_getpid (void)
 Return the process ID, which is unique for the application.
 

Detailed Description

Abstract Process API.

Function Documentation

◆ OSAPI_Process_is_alive()

OSPSLDllExport RTI_BOOL OSAPI_Process_is_alive ( OSAPI_ProcessId pid)

Returns true if a process is alive.

When passed in PID 0, the function will always return RTI_TRUE

Returns
RTI_BOOL

◆ OSAPI_Process_getpid()

OSPSLDllExport OSAPI_ProcessId OSAPI_Process_getpid ( void )

Return the process ID, which is unique for the application.

Return the process ID.

Returns
Process id