Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

Mutex class - not supported (CrUn248)

TH Impacts

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.


C/C++ StructuresMutex C/C++ Header Filesmutex.h C/C++ Header Filesmutex.hxx    

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
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.