摘要 |
A method of initialising application instructions on a processing system. An application (602) comprises a number of dynamically shared objects or modules. Each of these modules may include data structures (614) that require initialisation. Modules are dependent upon each other, and a module initialisation order is identified by automatically registering a module's dependencies in an initialisation list (608) during module loading, processi ng module dependencies to identify all dependencies, and generating an initialisation schedule (609). Module initialisation (506) is then performed . Plug-in modules can be loaded and initialised after the application has started, and the plug-in schedule is appended to the initialisation schedule . Finalisation is performed in reverse order, when the application is close d.
|