Lines Matching refs:coretid
181 thread->coretid = VG_INVALID_THREADID;
461 VG_(printf)("coretid %d -> Thread %p\n", i, map_threads[i]);
520 if (thr->coretid == VG_INVALID_THREADID)
523 VG_(printf)("tid %u ", thr->coretid);
638 thr->coretid = 1; /* FIXME: hardwires an assumption about the
644 tl_assert(HG_(is_sane_ThreadId)(thr->coretid));
645 tl_assert(thr->coretid != VG_INVALID_THREADID);
647 map_threads[thr->coretid] = thr;
660 static Thread* map_threads_maybe_lookup ( ThreadId coretid )
663 tl_assert( HG_(is_sane_ThreadId)(coretid) );
664 thr = map_threads[coretid];
669 static inline Thread* map_threads_lookup ( ThreadId coretid )
672 tl_assert( HG_(is_sane_ThreadId)(coretid) );
673 thr = map_threads[coretid];
687 tid = thr->coretid;
699 tl_assert(map_threads[tid]->coretid == tid);
703 static void map_threads_delete ( ThreadId coretid )
706 tl_assert(coretid != 0);
707 tl_assert( HG_(is_sane_ThreadId)(coretid) );
708 thr = map_threads[coretid];
710 map_threads[coretid] = NULL;
1447 ThreadId coretid;
1453 coretid = VG_(get_running_tid)();
1458 if (coretid
1459 coretid = 1; /* KLUDGE */
1460 thr = map_threads_lookup( coretid );
1617 tl_assert(thr_c->coretid == VG_INVALID_THREADID);
1618 thr_c->coretid = child;
1697 tl_assert(thr_q->coretid == quit_tid);
1698 thr_q->coretid = VG_INVALID_THREADID;
1728 tl_assert(thr->coretid == i);
1729 thr->coretid = VG_INVALID_THREADID;
5113 if (my_thr->coretid != 1) {