Barrier attributes are used to specify parameters to be used with
pthread_barrier_init(3). One attribute object can be used in multiple calls to
pthread_barrier_init(), with or without modifications between calls.
The
pthread_barrierattr_init() function initializes
attr with the default barrier attributes.
The
pthread_barrierattr_destroy() function destroys
attr.