Creating an RT Process (API)
A Windows application can load a real time process using ntxCreateRtProcess and variations of it. INtime applications use CreateRtProcess or CreateRemoteRtProcess.
The API has options to synchronize the start and wait on termination of loaded process.
Synchronized load requires a loaded RT Process to cooperate by calling SynchronizeRtLoader when it finishes initialization. A timeout specifies the maximum time for completing the initialization.
Waiting on termination also has a timeout option. The exit code of the terminated process is returned.
Real-time shared libraries ("RSL"s, binary objects, similar to DLL files in Windows) are loaded implicitly with the new RT process (when an RTA has been linked to a respective RSL library). RSLs also can be loaded dynamically using the LoadRtLibrary system call.