X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Freleaseseq.c;h=548f0a822380ae19640cb30197d7ac6e1209fde4;hb=278ff43e5570a6cd8a42aa03070c5b59d079a999;hp=a63fa93620bb3601e6dbded7f8cff0e6fe92ebfb;hpb=e9054c67ca7c2f2b577a70396de09b874d9a0fc0;p=model-checker.git diff --git a/test/releaseseq.c b/test/releaseseq.c index a63fa93..548f0a8 100644 --- a/test/releaseseq.c +++ b/test/releaseseq.c @@ -38,7 +38,7 @@ int user_main(int argc, char **argv) atomic_init(&x, 0); - printf("Thread %d: creating 3 threads\n", thrd_current()); + printf("Main thread: creating 3 threads\n"); thrd_create(&t1, (thrd_start_t)&a, NULL); thrd_create(&t2, (thrd_start_t)&b, NULL); thrd_create(&t3, (thrd_start_t)&c, NULL); @@ -46,7 +46,7 @@ int user_main(int argc, char **argv) thrd_join(t1); thrd_join(t2); thrd_join(t3); - printf("Thread %d is finished\n", thrd_current()); + printf("Main thread is finished\n"); return 0; }