critical impact:
Mutex class - not supported (CrUn248)
Problem description
The Mutex class exists on Tru64 UNIX but not on HP-UX.
The Mutex package provides a way to synchronize access to user-defined objects. The synchronization process consists of locking and unlocking Mutex objects associated with user-defined objects. Tru64 UNIX recommends that you create a Mutex object for each user-defined object that needs to be synchronized between threads. Identifiers
See also
Solution description
Use pthread mutexes or the example Mutex class.
One possible resolution is to use the pthread_mutex* routines. These routines manage pthread mutexes, and should be used for controlling synchronization.
The source code for the Mutex class is available as an unsupported example in the /opt/STKT/examples/mutex directory of the Tru64 UNIX Software Transition Kit.
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| TH |
C++, Make |
any HP-UX 11i version |
critical |
unavailable |
|