INtime SDK Help
ExitRtProcess
INtime SDK v6 > About INtime > INtime Kernel > Processes > ExitRtProcess

Deletes the current process, all its threads, and all objects created by the threads.

During deletion:

Deleting a process counts toward the object limit for the parent process.

Note: This call does NOT clear up any C library resources. It is preferred that the C library exit() call be made in preference to this call in order to exit an INtime process in order to avoid possible memory leaks in the root process.
VOID ExitRtProcess(VOID);

Return Values

Does not return.
Success.
GetLastRtError returns E_CONTEXT
Failure. If the function fails, it is because the process contains a thread which currently controls a region.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also

Process system calls