SYNOPSIS
#include <pthread.h>
int pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
DESCRIPTION
The
When using
When using
When the lock become becomes available and there are threads blocked on it, write locks take precedence over read locks.
PARAMETERS
RETURN VALUES
On success, the
- EINVAL
-
rwlock does not point to an initialized read-write lock object.
- EPERM
-
The current thread does not hold a lock on the read-write lock object.
CONFORMANCE
UNIX 03.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
On the NuTCRACKER Platform, waiting writers of any priority acquire the lock before
waiting readers.
A call to the Win32
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
pthread_rwlock_destroy() ,pthread_rwlock_rdlock() ,pthread_rwlock_timedrdlock() ,pthread_rwlock_timedwrlock() ,pthread_rwlock_tryrdlock() ,pthread_rwlock_trywrlock() ,pthread_rwlock_wrlock()
PTC MKS Toolkit 10.5 Documentation Build 40.