Hi, I want to build a Valgrind tool which can instrument a multi-thread program. It seems I can't use pthread library (such as pthread_mutex_lock) directly in my tool. As to my understanding, when the hosted program is a multi-thread program, the Valgrind tool's code may race. So how can I lock a shared memory in my tool? Thank you.
-- zhouxu ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users