ptg10805159
Appendix A Function Prototypes 875
int pthread_rwlock_timedrdlock(pthread_rwlock_t *restrictrwlock,
const struct timespec
*restricttsptr);
<pthread.h> p. 413
<time.h>
Returns: 0 if OK, error number on failure
int pthread_rwlock_timedwrlock(pthread_rwlock_t *restrictrwlock,
const struct timespec
*restricttsptr);
<pthread.h> p. 413
<time.h>
Returns: 0 if OK, error number on failure
int pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock);
<pthread.h> p. 410
Returns: 0 if OK, error number on failure
int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);
<pthread.h> p. 410
Returns: 0 if OK, error number on failure
int pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
<pthread.h> p. 410
Returns: 0 if OK, error number on failure
int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);
<pthread.h> p. 410
Returns: 0 if OK, error number on failure
pthread_tpthread_self(void);
<pthread.h> p. 385
Returns: thread ID of the calling thread
int pthread_setcancelstate(intstate,int *oldstate);
<pthread.h> p. 451
state:PTHREAD_CANCEL_ENABLE,
PTHREAD_CANCEL_DISABLE
Returns: 0 if OK, error number on failure
int pthread_setcanceltype(inttype,int *oldtype);
<pthread.h> p. 453
type:PTHREAD_CANCEL_DEFERRED,
PTHREAD_CANCEL_ASYNCHRONOUS
Returns: 0 if OK, error number on failure