Commit Graph

9 Commits

Author SHA1 Message Date
Bart Van Assche
219e77b9bc - Reindented code such that it uses three spaces for indentation instead
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
2009-03-26 19:07:15 +00:00
Bart Van Assche
aaef6d016e Changes:
- 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
2009-02-21 15:27:04 +00:00
Bart Van Assche
b71a8e5966 - Updated copyright statements.
- Improved consistency of source file headers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9182
2009-02-16 19:43:56 +00:00
Bart Van Assche
280e61760d Wrapped DRD_() macro around all client object function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9166
2009-02-15 11:34:57 +00:00
Bart Van Assche
fec153f2f1 Renamed a variable and removed two statements that were commented out.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8880
2008-12-24 09:45:41 +00:00
Bart Van Assche
a040d2e7b4 Fixed bug in vector clock updating for semaphores with non-zero initial value.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8854
2008-12-21 17:20:22 +00:00
Bart Van Assche
66d69c2025 Fixed semaphore vector clock updating / simplified semaphore tracing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8836
2008-12-17 19:20:13 +00:00
Bart Van Assche
7535e7be94 Fixed regression test tc20_verifywrap2, which was broken through r8829.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8830
2008-12-17 07:32:09 +00:00
Bart Van Assche
6e368a9f37 Renamed exp-drd directory into drd. Moved drd from the experimental tool class to the class of regular tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361
2008-07-04 15:14:35 +00:00