8.9. User API for Solaris threaded applications

The new user thread library provides for source compatibility with Solaris user thread routines. This allows applications that are run on Solaris systems to be recompiled without changing their application source code so that they can run on AIX beginning with Version 5.2. The API for Solaris threaded applications for AIX 5L Version 5.2 is designed to be compatible with Solaris Version 8 of the thread library.

The Solaris user thread library does not alter the Pthread library, so compatibility with POSIX and X/Open standards for Pthreads are maintained on AIX. The Solaris user threads support is implemented on top of the Pthreads; therefore, existing POSIX thread applications will not be affected by the Solaris user thread support.

There is, however, no binary compatibility with applications compiled under Solaris. All source code is required to be recompiled on AIX.

Note

Solaris user thread library function names have the prefix thr_, while POSIX thread library function names have the prefix pthread_.


8.9.1. Application binary interface (ABI)

The design of the existing ABI of the pthread library is not altered with respect to:

  • Exported function names

  • Exported function signatures

  • Exported data structures

  • Exported data structures used in file formats

AIX LPP packaging

The filesets listed in Table 8-1 contain the AIX files needed for the user API for Solaris threaded applications.

Table 8-1. Filesets for Solaris user thread library
FileFileset
/usr/ccs/lib/libthread.abos.adt.lib
/usr/include/thread.hbos.adt.include
/usr/include/synch.hbos.adt.include

There are no user interfaces required for either the command line, SMIT, or Web-based System Manager. All applications need to be recompiled.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset