that it is always called when a new thread starts running. Add in a direct
call to VG_TRACK to issue a thread_run event at the same place until thread
modelling is working again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4287
if (VG_(clo_trace_sched))
print_sched_event(tid, "now running");
+
+ // While thre modeling is disable, issue thread_run events here
+ // VG_(tm_thread_switchto)(tid);
+ VG_TRACK( thread_run, tid );
}
/*
VG_(set_sleeping)(tid, VgTs_Yielding);
/* nothing */
VG_(set_running)(tid);
- //VG_(tm_thread_switchto)(tid);
/* OK, do some relatively expensive housekeeping stuff */
scheduler_sanity(tid);