RtProcess.WaitForExitCode Method (Int32)
Waits for the thread that get's the exitcode from the Real-Time Process to finish. Unlike WaitForExit() this routine ensures that we've updated the ExitCode property before we return the routine.
Namespace:
IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)
Syntax
public int WaitForExitCode(
int milliseconds
)
Parameters
milliseconds
Type: System.Int32
Length of time in milliseconds before the function times out.
Will throw an exception on timeout.
Return Value
Type: Int32
The ExitCode after it has been updated from the Realtime side.
Implements
IDiagnosticsRtProcess.WaitForExitCode (Int32).
Exceptions
| Exception | Condition |
|---|---|
|
TimeoutException |
This Execption is thrown if we've timed out waiting for the ExitCode to be updated. |
See Also: