diff --git a/test/class/opal_fifo.c b/test/class/opal_fifo.c index 122524a..ca9cb7e 100644 --- a/test/class/opal_fifo.c +++ b/test/class/opal_fifo.c @@ -63,7 +63,7 @@ static void *thread_test (void *arg) { printf ("Atomics thread finished. Time: %d s %d us %d nsec/poppush\n", (int) total.tv_sec, (int)total.tv_usec, (int)(timing / 1e-9)); - return NULL; + pthread_exit(NULL); } static void *thread_test_exhaust (void *arg) {