ChorusOS 5.0 Features and Architecture Overview

Dynamic Libraries (DYNAMIC_LIB)

The DYNAMIC_LIB feature provides support for dynamic libraries within the ChorusOS operating system. These libraries are loaded and mapped within the actor address space at execution time. Symbol resolution is performed at library load time. This feature also enables a running actor to ask for a library to be loaded and installed within its address space, and then to resolve symbols within this library. The feature handles dependencies between libraries.

The DYNAMIC_LIB feature API is summarized in the following table.

Function 

Description 

dladdr()

Translate address into symbolic information 

dlclose()

Close a dynamic library 

dlerror()

Get diagnostic information 

dlopen()

Gain access to a dynamic library file 

dlsym()

Get the address of a symbol in a dymanic library 

For details, see DYNAMIC_LIB(5FEA).