printf("thread 2, thread id : %lu, pid %lu\n", pthread_self(), getpid());
for(i=0; i<100000; i++) {
-// trace_user_generic_string("Hello world! Have a nice day.");
+ trace_user_generic_string("Hello world! Have a nice day.");
}
/* This thread is a bad citizen : returning like this will cause its cancel
* routines not to be executed. This is still detected by the tracer, but only