$REVOLUTION_SDK_ROOT/build/demos/rsodemo/Manually
Sample for not using linked lists.
The link will be specified directly from the program.
The internal operation of each module is completed using RSOStaticLocateObject or RSOLocateObject, and each module will be linked using RSOLink.
Enter the following to reference module B from module A.
|
To break a link, disconnect all links using RSOUnLink and use RSOUnLocateObject to return the internal information to pre-link state.
Enter the following to stop referencing module B from module A.
|
When a linked list is used, a link will be created for all combinations, resulting in unnecessary link operation.
By doing this operation manually, unnecessary link processing may be omitted.
In the sample, since we know that module C references only the static module, it is not linked with other dynamic modules.
This should be effective in shortening the link processing time for dynamic modules that do not link to static modules (module C).
However, when functions are called between dynamic modules (module A and module B), it will be easier to use the linked list, because the procedure for creating and breaking link will become complicated.
The benefit of manual operation is that unnecessary link operations can be omitted. The downside is that management will become complicated.
Note: Manual and linked list operation cannot be used together. Do not use linked list when manual specifications are made.
Sample List
RSOStaticLocateObject,
RSOLocateObject,
RSOUnLocateObject,
RSOLink,
RSOUnLink,
RSOFindExportSymbolAddr,
RSOIsImportSymbolResolvedAll,
2006/06/14 Initial version.
CONFIDENTIAL