![]() |
![]() |
![]() |
Destroy a barrier object
#include <pthread.h> int pthread_barrier_destroy( pthread_barrier_t * barrier );
libc
The pthread_barrier_destroy() function destroys the barrier referenced by barrier and releases any resources used by the barrier. Subsequent use of the barrier is undefined until the barrier is reinitialized by another call to pthread_barrier_init().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pthread_barrier_init(), pthread_barrier_wait()
![]() |
![]() |
![]() |