Problem:
- Product Name: VisiBroker for C
- Product Version: All
- Platform/OS Version: HP-UX/AIX
Resolution:
You can verify if you are using a classical or standard library in VisiBroker by either of the following:
1. Do `ldd `. It will list all of the linked libraries.
You can determine if it is using classical if it is linked to at least the following libraries:
liborb(64)_r.[so,a]
libvdlog(64)_r.[so,a]
libvport(64)_r.[so,a]
If the application is linked to the following, then you are using standard libraries:
liborb(64)_pr.[so,a]
libvdlog(64)_pr.[so,a]
libvport(64)_pr.[so,a]
You may notice the only difference is "_p". VisiBroker libraries having "_p" infix are built using C standard libraries, while those that have no "_p" infix are built using C classical libraries.
2. Another way to verify is to check the Makefile. If your link options are using VisiBroker libraries with "_p" infix then it is standard, otherwise it is a classical.
There is no difference, at least, in Visibroker usage if you are using either the classical or standard libraries. The difference falls in the internal implementations inside the C classical libraries and the standard libraries. Please note that C standard libraries conforms to the ISO standard implementation for C system libraries. Classical libraries are the old implementation before the ISO standard.
It will depend on your design and requirement, whether to use the VisiBroker classical libraries or the standard libraries.
#VisiBroker
#Security