aboutsummaryrefslogtreecommitdiff
path: root/drd/drd_rwlock.c
AgeCommit message (Collapse)Author
2009-04-13Make sure that DRD does not complain about mutexes being held too long on ↵bart
systems where the clock can go backward. Apparently this happens frequently when Linux is running inside a virtual machine. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9521 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-03-26- Reindented code such that it uses three spaces for indentation insteadbart
of two. The indentation of the DRD source code is now consistent with the other Valgrind source files. - Added emacs mode line with indentation settings. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9496 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-21Changes:bart
- pthread_barrier_wait() intercept now passes the information to the DRD tool whether or not this function returned PTHREAD_BARRIER_SERIAL_THREAD. This information is now displayed when the command-line option --trace-barrier=yes has been specified. - Changed the cleanup functions for client objects that are called just before a thread stops into callback functions. - Added DRD_(clientobj_delete_thread)(). - Removed DRD_(clientobj_resetiter)(void) and DRD_(clientobj_next)(). - Added test for race conditions between pthread_barrier_wait() and pthread_barrier_destroy() calls. An error message is now printed if this condition has been detected. - Bug fix: pthread_barrier_delete() calls on barriers being waited upon are now reported. - Removed DRD_() wrapper from around the name of some static variables and functions. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9211 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-21Documentation updates.bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9208 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-16- Updated copyright statements.bart
- Improved consistency of source file headers. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9182 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-15Wrapped DRD_() macro around even more function names.bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9170 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-15Wrapped DRD_() macro around thread-related function names.bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9168 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-15Wrapped DRD_() macro around all client object function names.bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9166 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-14Wrapped DRD_() macro around all segment function names.bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9160 a5019735-40e9-0310-863c-91ae7b9d1cf9
2008-09-18Merge all remaining changes from branches/PTRCHECK. These are somesewardj
relatively minor extensions to m_debuginfo, a major overhaul of m_debuginfo/readdwarf3.c to get its space usage under control, and changes throughout the system to enable heap-use profiling. The majority of the merged changes were committed into branches/PTRCHECK as the following revs: 8591 8595 8598 8599 8601 and 8161. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8621 a5019735-40e9-0310-863c-91ae7b9d1cf9
2008-07-04Renamed exp-drd directory into drd. Moved drd from the experimental tool ↵bart
class to the class of regular tools. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361 a5019735-40e9-0310-863c-91ae7b9d1cf9