HCL OneDB libraries
These topics describe how to link the static, shared, and thread-safe HCL OneDB™ general libraries with your application.
- Static HCL
OneDB general
libraries
To link a static library, the linker copies the library functions to the executable file of your program. The static HCL OneDB general libraries allow the program on computers that do not support shared memory to access the HCL OneDB general library functions.
- Shared HCL
OneDB general
libraries
To link a shared library, the linker copies information about the location of the library to the executable file of your program. The shared HCL OneDB libraries allow several applications to share a single copy of these libraries, which the operating system loads, once, into shared memory.
- Thread-safe versions of static and shared HCL
OneDB general
libraries
The thread-safe versions of HCL OneDB general libraries allow the application that has several threads to call these library functions simultaneously. The thread-safe versions of HCL OneDB libraries are available as both static libraries and shared libraries.
Linking options | Thread-safe | Default |
---|---|---|
Static | Static, thread-safe general libraries | Static, default general libraries |
Shared | Shared, thread-safe general libraries | Shared, default general libraries. |