Lines Matching defs:drd_tid
81 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)();
84 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid
87 /* Check the consistency of vg_tid and drd_tid, unless
92 drd thread id, but drd_tid is not invalid (probably
150 result = drd_tid;
154 DRD_(thread_set_name)(drd_tid, (const HChar*)arg[1]);
170 DRD_(hb_happens_before)(drd_tid, arg[1]);
174 DRD_(hb_happens_after)(drd_tid, arg[1]);
241 DRD_(semaphore_post_wait)(drd_tid, arg[1], True /* waited */);
245 DRD_(semaphore_pre_post)(drd_tid, arg[1]);
266 DRD_(thread_set_record_loads)(drd_tid, arg[1]);
270 DRD_(thread_set_record_stores)(drd_tid, arg[1]);
276 DRD_(thread_set_pthreadid)(drd_tid, arg[1]);
296 DRD_(thread_entering_pthread_create)(drd_tid);
300 DRD_(thread_left_pthread_create)(drd_tid);
317 DRD_(thread_post_join)(drd_tid, thread_to_join);
345 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
350 DRD_(thread_leave_synchr)(drd_tid);
354 DRD_(thread_enter_synchr)(drd_tid);
358 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
363 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
368 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
373 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
378 DRD_(thread_leave_synchr)(drd_tid);
386 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
391 DRD_(thread_leave_synchr)(drd_tid);
395 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
400 DRD_(thread_leave_synchr)(drd_tid);
404 DRD_(thread_enter_synchr)(drd_tid);
408 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
413 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
424 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
435 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
440 DRD_(thread_leave_synchr)(drd_tid);
444 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
449 DRD_(thread_leave_synchr)(drd_tid);
453 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
458 DRD_(thread_leave_synchr)(drd_tid);
462 DRD_(thread_enter_synchr)(drd_tid);
466 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
471 DRD_(thread_enter_synchr)(drd_tid);
475 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
480 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
485 DRD_(thread_leave_synchr)(drd_tid);
489 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
494 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
495 DRD_(semaphore_post_wait)(drd_tid, arg[1], arg[2]);
499 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
500 DRD_(semaphore_pre_post)(drd_tid, arg[1]);
504 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
505 DRD_(semaphore_post_post)(drd_tid, arg[1], arg[2]);
509 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
514 DRD_(thread_leave_synchr)(drd_tid);
518 DRD_(thread_enter_synchr)(drd_tid);
522 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
527 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
528 DRD_(barrier_pre_wait)(drd_tid, arg[1], arg[2]);
532 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
533 DRD_(barrier_post_wait)(drd_tid, arg[1], arg[2], arg[3], arg[4]);
537 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
542 DRD_(thread_leave_synchr)(drd_tid);
546 DRD_(thread_enter_synchr)(drd_tid);
550 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
555 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
560 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
565 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
570 if (DRD_(thread_leave_synchr)(drd_tid) == 0)
575 if (DRD_(thread_enter_synchr)(drd_tid) == 0)
580 DRD_(thread_leave_synchr)(drd_tid);
620 DRD_(thread_entering_rtld_bind_guard)(drd_tid, arg[1]);
624 DRD_(thread_leaving_rtld_bind_clear)(drd_tid, arg[1]);