opal_fifo
authorAlastair McKinstry <mckinstry@debian.org>
Sat, 9 Jun 2018 12:36:15 +0000 (13:36 +0100)
committerAlastair McKinstry <mckinstry@debian.org>
Sat, 9 Jun 2018 12:36:15 +0000 (13:36 +0100)
Gbp-Pq: Name opal_fifo.patch

test/class/opal_fifo.c

index 03f9fad4dc6381fcdfc090f76816912165e81d32..4df80cfc2811ea8ce0f117b02ccfd0d15b8b550e 100644 (file)
@@ -62,7 +62,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) {