Home | History | Annotate | Download | only in helgrind

Lines Matching full:map_threads

135 static Thread** map_threads = NULL; /* Array[VG_N_THREADS] of Thread* */
451 space(d); VG_(printf)("map_threads ");
453 if (map_threads[i] != NULL)
458 if (map_threads[i] == NULL)
461 VG_(printf)("coretid %d -> Thread %p\n", i, map_threads[i]);
608 tl_assert(map_threads == NULL);
609 map_threads = HG_(zalloc)( "hg.ids.1", VG_N_THREADS * sizeof(Thread*) );
647 map_threads[thr->coretid] = thr;
656 /*--- map_threads :: array[core-ThreadId] of Thread* ---*/
659 /* Doesn't assert if the relevant map_threads entry is NULL. */
664 thr = map_threads[coretid];
668 /* Asserts if the relevant map_threads entry is NULL. */
673 thr = map_threads[coretid];
679 map_threads. */
686 tl_assert(map_threads[VG_INVALID_THREADID] == NULL);
693 is not found in map_threads. */
698 tl_assert(map_threads[tid]);
699 tl_assert(map_threads[tid]->coretid == tid);
708 thr = map_threads[coretid];
710 map_threads[coretid] = NULL;
1616 map_threads[child] = thr_c;
1691 - clear the map_threads entry, in order that the Valgrind core
1707 threaded programs), so we have to clean up map_threads to remove
1800 which should clear the map_threads entry for it. Hence we
1801 expect there to be no map_threads entry at this point. */
4152 they must have an entry in map_threads. */
5098 /* This assertion should hold because the map_threads (tid to