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

Abstract Process API. More...

Typedefs

typedef RTI_UINT64 OSAPI_ProcessId
 OSAPI_ProcessId type.
 

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.

Typedef Documentation

◆ OSAPI_ProcessId

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