Adelsbach Enhanced Threading Library

Manual Pages (DD-00013-001)

Enhanced Threading Library > bar_destroy (3)
HTML TXT PDF PS
bar_destroy(3) Library Functions Manual bar_destroy(3)

bar_destroydestroy a thread barrier

library “threads”
#include <threadse.h>

int
bar_destroy(bar_t *barrier);

The function () will destroy the given thread barrier barrier.

Upon success bar_destroy() will return thrd_success otherwise thrd_error will be returned.

bar_init(3) bar_wait(3)

The bar_destroy() function first appeared in the Adelsbach Enhanced Threading Library.

Jan Adelsbach <jan@jadelsbach.de>

May 9, 2020 Debian