int pthread_rwlock_timedrdlock(pthread_rwlock_t *restrict rwlock, const struct timespec *restrict abs_timeout);
The timeout is based on the system clock as returned by
When a thread blocked on a read-write lock via a
The calling thread may detect a deadlock (and return EDEADLK) if at the time the call is made it holds a write lock.
Points to a read-write lock.
Specifies how long the
pthread_rwlock_timedlock()function should wait to acquire a lock.
On success, the
Acquiring the read lock would exceed the maximum number of read locks allowed.
The calling thread already holds a write lock on rwlock.
The value specified by rwlock does not refer to an initialized read-write lock object, or the abs_timeout value is invalid.
The lock could not be acquired before the specified timeout expired.
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
pthread_rwlock_destroy(), pthread_rwlock_rdlock(), pthread_rwlock_timedwrlock(), pthread_rwlock_tryrdlock(), pthread_rwlock_trywrlock(), pthread_rwlock_unlock(), pthread_rwlock_wrlock()
PTC MKS Toolkit 10.3 Documentation Build 39.