loader.md 1.13 KB
Newer Older
frtabu's avatar
frtabu committed
1 2 3 4 5 6 7 8 9 10 11 12
# OAI shared library loader

Shared libraries usage is modularization mechanism which provides the following advantages:
1. Prevents including in the main executable code which is not used in a given configuration
1. Provides flexibility, several implementation of a given functionality can be chosen at run-time, without any compilation step. For example you can build several devices (USRP, BladeFR, LimeSDR)  and choose which one you want to use on the command line or via the configuration.
1.  Makes code evolution easier: as soon as the shared library interface is clearly defined, you can work on the functionality implemented in a shared library while regularly updating the other components of the code. You can decide to develop your own version of a functionality, decide to deliver it or not,  letting the user decide wwhat version he wants to use.

The main drawback is a performance cost at init time, when loading libraries.


## Documentation

Francois TABURET's avatar
Francois TABURET committed
13 14 15
* [runtime usage](loader/rtusage.md)
* [developer usage](loader/devusage.md)
* [module architecture](loader/arch.md)
frtabu's avatar
frtabu committed
16

Francois TABURET's avatar
Francois TABURET committed
17
[oai Wikis home](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/home)