Lines Matching refs:coretid
175 thread->coretid = VG_INVALID_THREADID;
431 VG_(printf)("coretid %d -> Thread %p\n", i, map_threads[i]);
578 thr->coretid = 1; /* FIXME: hardwires an assumption about the
584 tl_assert(HG_(is_sane_ThreadId)(thr->coretid));
585 tl_assert(thr->coretid != VG_INVALID_THREADID);
587 map_threads[thr->coretid] = thr;
604 static Thread* map_threads_maybe_lookup ( ThreadId coretid )
607 tl_assert( HG_(is_sane_ThreadId)(coretid) );
608 thr = map_threads[coretid];
613 static inline Thread* map_threads_lookup ( ThreadId coretid )
616 tl_assert( HG_(is_sane_ThreadId)(coretid) );
617 thr = map_threads[coretid];
631 tid = thr->coretid;
643 tl_assert(map_threads[tid]->coretid == tid);
647 static void map_threads_delete ( ThreadId coretid )
650 tl_assert(coretid != 0);
651 tl_assert( HG_(is_sane_ThreadId)(coretid) );
652 thr = map_threads[coretid];
654 map_threads[coretid] = NULL;
1479 ThreadId coretid;
1485 coretid = VG_(get_running_tid)();
1490 if (coretid == VG_INVALID_THREADID)
1491 coretid = 1; /* KLUDGE */
1492 thr = map_threads_lookup( coretid );
1617 tl_assert(thr_c->coretid == VG_INVALID_THREADID);
1618 thr_c->coretid = child;
1688 tl_assert(thr_q->coretid == quit_tid);
1689 thr_q->coretid = VG_INVALID_THREADID;
1719 tl_assert(thr->coretid == i);
1720 thr->coretid = VG_INVALID_THREADID;