diff options
Diffstat (limited to '')
-rw-r--r-- | barrierwait.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/barrierwait.c b/barrierwait.c deleted file mode 100644 index a310a27..0000000 --- a/barrierwait.c +++ /dev/null @@ -1,17 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "common.h" - - -void -barrierwait(pthread_barrier_t *barrier) -{ -#ifndef SINGLE_THREADED - int r = pthread_barrier_wait(barrier); - if (r && r != PTHREAD_BARRIER_SERIAL_THREAD) { - errno = r; - eprintf("pthread_barrier_wait:"); - } -#else - (void) barrier; -#endif -} |