opal_fifo
authorAlastair McKinstry <mckinstry@debian.org>
Tue, 30 Apr 2019 21:40:47 +0000 (22:40 +0100)
committerAndreas Beckmann <anbe@debian.org>
Tue, 30 Apr 2019 21:40:47 +0000 (22:40 +0100)
Gbp-Pq: Name opal_fifo.patch

test/class/opal_fifo.c

index 122524a8d9fb7f64ffdc1f65436190ffc8e947e4..ca9cb7e17b1c44fb460758da34564a8cbc9cee5c 100644 (file)
@@ -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) {