ptg10805159
870 Function Prototypes Appendix A
int pthread_barrier_wait(pthread_barrier_t *barrier);
<pthread.h> p. 419
Returns: 0 orPTHREAD_BARRIER_SERIAL_THREADif OK,
error number on failure
int pthread_cancel(pthread_ttid);
<pthread.h> p. 393
Returns: 0 if OK, error number on failure
void pthread_cleanup_pop(intexecute);
<pthread.h> p. 394
void pthread_cleanup_push(void (*rtn)(void *), void *arg);
<pthread.h> p. 394
int pthread_condattr_destroy(pthread_condattr_t *attr);
<pthread.h> p. 440
Returns: 0 if OK, error number on failure
int pthread_condattr_getclock(const pthread_condattr_t
*restrictattr,
clockid_t *restrictclock_id);
<pthread.h> p. 441
Returns: 0 if OK, error number on failure
int pthread_condattr_getpshared(const pthread_condattr_t
*restrictattr,
int *restrictpshared);
<pthread.h> p. 440
Returns: 0 if OK, error number on failure
int pthread_condattr_init(pthread_condattr_t *attr);
<pthread.h> p. 440
Returns: 0 if OK, error number on failure
int pthread_condattr_setclock(pthread_condattr_t *attr,
clockid_tclock_id);
<pthread.h> p. 441
Returns: 0 if OK, error number on failure
int pthread_condattr_setpshared(pthread_condattr_t *attr,
intpshared);
<pthread.h> p. 440
pshared:PTHREAD_PROCESS_PRIVATE,
PTHREAD_PROCESS_SHARED
Returns: 0 if OK, error number on failure