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_.
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
The filesets listed in Table 8-1 contain the AIX files needed for the user API for Solaris threaded applications.
File | Fileset |
---|---|
/usr/ccs/lib/libthread.a | bos.adt.lib |
/usr/include/thread.h | bos.adt.include |
/usr/include/synch.h | bos.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.