X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Fdouble-relseq.c;h=2ad1987aebe197ec098e46ff9b1ea354e2f7f085;hb=fbacb5f41ada96e7b539ccc41deccb1a7e1a1ba8;hp=65c3f55d791df600afa617b61ef4468ef3a5df6b;hpb=e9054c67ca7c2f2b577a70396de09b874d9a0fc0;p=c11tester.git diff --git a/test/double-relseq.c b/test/double-relseq.c index 65c3f55d..2ad1987a 100644 --- a/test/double-relseq.c +++ b/test/double-relseq.c @@ -43,7 +43,7 @@ int user_main(int argc, char **argv) atomic_init(&x, 0); - printf("Thread %d: creating 4 threads\n", thrd_current()); + printf("Main thread: creating 4 threads\n"); thrd_create(&t1, (thrd_start_t)&a, NULL); thrd_create(&t2, (thrd_start_t)&b, NULL); thrd_create(&t3, (thrd_start_t)&b, NULL); @@ -53,7 +53,7 @@ int user_main(int argc, char **argv) thrd_join(t2); thrd_join(t3); thrd_join(t4); - printf("Thread %d is finished\n", thrd_current()); + printf("Main thread is finished\n"); return 0; }