X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=test_perthreadlock_timing.c;h=479895ee1b32f978f02f8cb04774244da0784fec;hb=fc606a745f2825aff6c615e5d6703526e170906b;hp=5369796759bfa950108117c5d4a864ca6aa06721;hpb=102d1d236ae6c788bb543dce3de410531aca346f;p=urcu.git diff --git a/test_perthreadlock_timing.c b/test_perthreadlock_timing.c index 5369796..479895e 100644 --- a/test_perthreadlock_timing.c +++ b/test_perthreadlock_timing.c @@ -127,8 +127,8 @@ void *thr_writer(void *arg) } time2 = get_cycles(); writer_time[(unsigned long)arg] += time2 - time1; + usleep(1); } - usleep(1); } printf("thread_end %s, thread id : %lx, tid %lu\n",