Show Table of Contents
4.6. Loading Dynamic Libraries
When developing your real-time application, consider resolving symbols at startup. Although it can slow down program initialization, it is one way to avoid non-deterministic latencies during program execution.
Dynamic Libraries can be instructed to load at application startup by setting the
ld.so, the dynamic linker/loader.
The following is an example shell script. This script exports the
LD_BIND_NOWvariable with a value of
1, then runs a program with a scheduler policy of FIFO and a priority of
#!/bin/sh LD_BIND_NOW=1 export LD_BIND_NOW chrt --fifo 1 /opt/myapp/myapp-server &
Related Manual Pages
For more information, or for further reading, the following man pages are related to the information given in this section.