pthread_barrierattr
if ((*attr = malloc(sizeof(struct pthread_barrierattr))) == NULL)
typedef struct pthread_barrierattr *pthread_barrierattr_t;