Back to index

glibc  2.9
Functions
pthread_barrierattr_init.c File Reference
#include "pthreadP.h"

Go to the source code of this file.

Functions

int pthread_barrierattr_init (pthread_barrierattr_t *attr)

Function Documentation

int pthread_barrierattr_init ( pthread_barrierattr_t *  attr)

Definition at line 24 of file pthread_barrierattr_init.c.

{
  ((struct pthread_barrierattr *) attr)->pshared = PTHREAD_PROCESS_PRIVATE;

  return 0;
}