int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
Once a read-write lock attributes object has been used to initialize a read-write lock, changes affecting the attributes object by any function (including destruction) has no affect on the previously initialized read-write locks.
On success, the
The attr attribute points to an invalid value.
There is not enough memory to initialize the read-write lock attributes object.
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_rwlockattr_getpshared(), pthread_rwlockattr_setpshared()
PTC MKS Toolkit 10.3 Documentation Build 39.