> Can a tid change during a single SB entry/exit? > If I get a running_tid() at SB_entry, does that hold for the rest of the > instrumented instructions in the same SB? If not, what is the likelyhood or > a scenario (if you can think of one) where that doesn't hold?
There are two things that might happen: 1, that thread receives a signal, and during the signal handler there is a re-schedule which switches execution to a different thread. Maybe this isn't supposed to happen (because signals are handled only at end of block?), but ... 2. some other thread executes the same block in parallel. Today there can be no problem because execution is serialized. However there is work towards multi-threaded valgrind ... -- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
