Lines Matching refs:tid
44 UWord tid; // A DrdThreadId declared as UWord because
47 // by thread tid.
50 Bool thread_finished;// Whether thread 'tid' has finished.
58 const DrdThreadId tid);
85 const DrdThreadId tid)
87 p->tid = tid;
131 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid) == sizeof(Word));
132 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid)
304 .tid = DRD_(thread_get_running_tid)(),
329 void DRD_(barrier_pre_wait)(const DrdThreadId tid, const Addr barrier,
334 const UWord word_tid = tid;
366 void* r = VG_(OSetGen_Remove)(oset, &q->tid);
377 DRD_(barrier_thread_initialize)(q, tid);
389 DRD_(thread_get_latest_segment)(&q->sg, tid);
404 void DRD_(barrier_post_wait)(const DrdThreadId tid, const Addr barrier,
409 const UWord word_tid = tid;
418 tid, p ? barrier_get_typename(p) : "(?)",
458 DRD_(barrier_thread_initialize)(q, tid);
461 DRD_(thread_get_latest_segment)(&q->sg, tid);
465 DRD_(thread_new_segment)(tid);
466 DRD_(thread_get_latest_segment)(&q->post_wait_sg, tid);
476 DRD_(vc_copy)(&old_vc, &DRD_(g_threadinfo)[tid].last->vc);
483 DRD_(vc_combine)(&DRD_(g_threadinfo)[tid].last->vc,
487 DRD_(thread_update_conflict_set)(tid, &old_vc);
503 /** Called when thread tid stops to exist. */
505 const DrdThreadId tid)
508 const UWord word_tid = tid;
535 = { DRD_(thread_get_running_tid)(), p->a1, q->tid, q->wait_call_ctxt };