HP-UX SNAplus2 CSV Programmer's Guide
Concepts
HP-UX System Considerations
Chapter 1 33
HP-UX System Considerations
This section summarizes the information you need to consider when
developing applications for use in the HP-UX environment.
Back Level Applications
New applications will use dynamic libraries in /opt/sna/lib/hpux32 or
/opt/sna/lib/hpux64 as described above. SNAplus2 release 6.2 also
includes a set of dynamic libraries to support existing applications that
have been built with previous versions of SNAplus or SNAplus2 on
PA-Risc systems. These libraries are on /opt/sna/lib or
/opt/sna/lib/pa20_64. There are multiple copies of some libraries to
support different levels of the interfaces.
Multithreaded Applications
The SNAplus2 CSV library supports multithreaded applications. The
only restrictions are as follows:
• Only one verb can be outstanding at any time. A verb will fail with
the return codes AP_STATE_CHECK and AP_SYNC_PENDING if another
verb is in progress.
• The application must perform any required clean-up processing
before a thread terminates. The CSV library does not maintain any
correlation between threads and verb usage, and will not perform
this processing automatically when a thread terminates.
Do not attempt to use multithreaded applications with a version of the
library that does not support DCE threads.
Use of Signals
Previous versions ofSNAplus2 API librariesused signals toindicate that
work was available for the libraries from the kernel components. This is
no longer the case and the SNAplus2 API libraries no longer use signals.