X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Fuserprog.c;h=02a83b4b2f2469f6af1f59c77038ed95c7878998;hb=2d0d4ac38e05905a6633b3f2d5112ccadd45c27f;hp=b75947e226a284f940ded9975191f8c8a51c4fa2;hpb=e9054c67ca7c2f2b577a70396de09b874d9a0fc0;p=model-checker.git diff --git a/test/userprog.c b/test/userprog.c index b75947e..02a83b4 100644 --- a/test/userprog.c +++ b/test/userprog.c @@ -28,13 +28,13 @@ int user_main(int argc, char **argv) atomic_init(&x, 0); atomic_init(&y, 0); - printf("Thread %d: creating 2 threads\n", thrd_current()); + printf("Main thread: creating 2 threads\n"); thrd_create(&t1, (thrd_start_t)&a, NULL); thrd_create(&t2, (thrd_start_t)&b, NULL); thrd_join(t1); thrd_join(t2); - printf("Thread %d is finished\n", thrd_current()); + printf("Main thread is finished\n"); return 0; }