Contact Us Contact Us

HP-UX Atomic APIs

  Software Depot
Electronic download
Frequently asked questions
Product details and specifications

This product provides a new set of APIs called Atomic APIs, a header file and an associated man page on HP-UX systems. Atomic APIs avoid the use of locks for simple operations like addition, increment and decrement, etc on a global variable.

Features and benefits:

The Atomic APIs offer the following benefits:

  1. Simplicity in its usage as opposed to inline assembly on IPF architecture.
  2. These APIs aid in easy porting of applications from other platforms like Solaris, windows, etc onto HP-UX.
  3. Perform basic operations like addition, increment and decrement, etc without the need for a lock. Hence, Atomic APIs could improve application's performance.
  4. These APIs can be useful in implementing user space spinlock mechanism.

The Product contains:

New core functionality (AtomicAPIs) which provides a new set of APIs.

AtomicAPIs contains:

  1. libatomic library for atomic APIs:

This library contains new set of APIs for both 32-bit and 64-bit environments.

  1. atomic.h header file:

The header file has function prototypes and inline version of APIs.

  1. atomic(3C) man page:

The manpage explains the usage, functionality and the restrictions of atomic APIs.

Where to Find Information:

For detailed information about the features contained in this product, see the man page: atomic(3C)

Known problems:

There were no known problems at the time of release.

Additional product information
Product #: Atomic
Version: B.11.23.0806.01, B.11.31.0803.01
Software specification: HP-UX 11.23 IA/PA
HP-UX 11.31 IA/PA