int        pthread_barrier_init(pthread_barrier_t *restrict barrier,                                const pthread_barrierattr_t *                                  restrict attr,                                unsigned int count);                      <pthread.h>                                      p. 418                      Returns: 0 if OK, error number on failureint        pthread_barrier_wait(pthread_barrier_t *barrier);                      <pthread.h>                                      p. 419                      Returns: 0 or PTHREAD_BARRIER_SERIAL_THREAD if OK,                            error number on failureint        pthread_cancel(pthread_t tid);                      <pthread.h>                                      p. 393                       ...

Get Advanced Programming in the UNIX® Environment, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.