INtime SDK Help
SynchronizeRtLoader
INtime SDK v6 > About INtime > INtime Kernel > Status > SynchronizeRtLoader

Synchronizes the current application with the application loader.

BOOLEAN SynchronizeRtLoader(void);

Remarks

Loading an INtime application is an asynchronous operation in that once the load has loaded the code and data and signalled the process to start it can immediately be available to load another application. When applications have to be loaded in sequence then sometimes it is necessary to hold off the loader until the application has completed its initialization so that it can continue to load the next application.

To achieve this synchronization, make this call when the application has completed all initialization steps. When loading the next application, either specify the -W command-line option when invokign ldrta.exe, or specify the PROC_WAIT_FOR_INIT applicatbit in the dwFlags parameter for CreateRtProcess or ntxCreateRtProcess.

Return Values

TRUE
Success.
FALSE
Failure. To determine the status, call GetLastRtError.

Status

E_LIMIT
Synchronization with the loader failed because the process directory is full. This call requires one free entry in the directory.

Requirements

Versions Defined in Include Link to
INtime 4.01 intime/rt/include/rtbase.h rt.h rt.lib
See Also