A SERVICE OF

logo

Programming Release Notes
5.35 POSIX Threads Library
5.35.1 Support for Process-shared Objects
V8.2
The POSIX Threads Library on OpenVMS Alpha and Integrity servers supports
process-shared mutexes and condition variables.
Note
The process-shared read-write locks for mutexes and condition variables
are supported only on Tru64 systems.
The supported pthread routines on OpenVMS are:
pthread_condattr_getpshared
pthread_condattr_setpshared
pthread_mutexattr_getpshared
pthread_mutexattr_setpshared
5.35.2 New Return Status for pthread_mutex_lock
V8.2
The POSIX Threads library pthread_mutex_lock when used with process-shared
mutexes now returns a new error status known as EABANDONED. This status
is returned only when the process has terminated while owning the mutex.
5.35.3 Support for New API pthread_mutex_tryforcedlock_np
V8.2
The POSIX Threads library supports a new API called pthread_mutex_
tryforcedlock_np. The pthread_mutex_tryforcedlock_np API takes the ownership
of abandoned process-shared mutexes.
Syntax
pthread_mutex_tryforcedlock_np(mutex);
Argument Data Type Access
mutex opaque pthread_mutex_t read
C Binding
#include <pthread.h>
int
pthread_mutex_tryforcedlock_np (
pthread_mutex_t *mutex);
Argument
mutex
Mutex to be locked.
Description
5–34 Programming Release Notes