SYNOPSIS
#include <pthread.h>
int pthread_barrierattr_destroy(pthread_barrierattr_t *attr);
int pthread_barrierattr_init(pthread_barrierattr_t *attr);
DESCRIPTION
The
The
You should not use
After a barrier attributes object has been used to initialize one or more barriers, any function affecting the attributes object (including destruction) will not affect any previously initialized barrier.
PARAMETERS
-
attr
Points to a barrier attributes object.
RETURN VALUES
When successful, the
- EINVAL
-
The attr argument specified in a
pthread_barrier_attr() call points to an invalid value. - ENOMEM
-
There is not enough memory for the
pthread_barrierattr_init() function to initialize the barrier attributes object.
CONFORMANCE
UNIX 03.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.