Home | History | Annotate | Download | only in helgrind

Lines Matching defs:coretid

171    thread->coretid      = VG_INVALID_THREADID;
445 VG_(printf)("coretid %d -> Thread %p\n", i, map_threads[i]);
592 thr->coretid = 1; /* FIXME: hardwires an assumption about the
598 tl_assert(HG_(is_sane_ThreadId)(thr->coretid));
599 tl_assert(thr->coretid != VG_INVALID_THREADID);
601 map_threads[thr->coretid] = thr;
614 static Thread* map_threads_maybe_lookup ( ThreadId coretid )
617 tl_assert( HG_(is_sane_ThreadId)(coretid) );
618 thr = map_threads[coretid];
623 static inline Thread* map_threads_lookup ( ThreadId coretid )
626 tl_assert( HG_(is_sane_ThreadId)(coretid) );
627 thr = map_threads[coretid];
641 tid = thr->coretid;
653 tl_assert(map_threads[tid]->coretid == tid);
657 static void map_threads_delete ( ThreadId coretid )
660 tl_assert(coretid != 0);
661 tl_assert( HG_(is_sane_ThreadId)(coretid) );
662 thr = map_threads[coretid];
664 map_threads[coretid] = NULL;
1373 ThreadId coretid;
1379 coretid = VG_(get_running_tid)();
1384 if (coretid == VG_INVALID_THREADID)
1385 coretid = 1; /* KLUDGE */
1386 thr = map_threads_lookup( coretid );
1529 tl_assert(thr_c->coretid == VG_INVALID_THREADID);
1530 thr_c->coretid = child;
1600 tl_assert(thr_q->coretid == quit_tid);
1601 thr_q->coretid = VG_INVALID_THREADID;
1631 tl_assert(thr->coretid == i);
1632 thr->coretid = VG_INVALID_THREADID;