Handle VG_USERREQ__PTHREAD_GET_THREADID and VG_USERREQ__RUNNING_ON_VALGRIND
cheaply, with the trivial-client-request mechanism.  The latter is called
once per pthread call, even simple ones like pthread_mutex_[un]lock.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@88 a5019735-40e9-0310-863c-91ae7b9d1cf9
3 files changed