18 Commits

Author SHA1 Message Date
Bart Van Assche
fa675bb534 Cleanup.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9384
2009-03-12 18:35:44 +00:00
Bart Van Assche
2e2af4c91c - Added more comments.
- Removed DRD_() wrapper from around local functions and variables.
- Removed some obsolete code.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9320
2009-03-04 19:26:47 +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
737b0449dc Wrapped DRD_() macro around yet even more function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9172
2009-02-15 15:59:20 +00:00
Bart Van Assche
cadc14611e Wrapped DRD_() macro around even more function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9170
2009-02-15 14:18:02 +00:00
Bart Van Assche
8dd5b6ceb8 Wrapped DRD_() macro around thread-related function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9168
2009-02-15 13:11:14 +00:00
Bart Van Assche
ae7c8b899e Wrapped DRD_() macro around global and static variables in drd_thread.[ch].
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9167
2009-02-15 12:14:52 +00:00
Bart Van Assche
1a06b087d8 Wrapped DRD_() macro around all barrier-related function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9165
2009-02-15 11:00:29 +00:00
Bart Van Assche
f2d278014e Added more comments / rearranged function order.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9163
2009-02-15 10:38:37 +00:00
Bart Van Assche
a2f849972f Wrapped DRD_() macro around all segment function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9160
2009-02-14 17:19:58 +00:00
Bart Van Assche
c5f4cc3cf1 Wrapped DRD_() macro around all vector clock function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9159
2009-02-14 16:55:19 +00:00
Bart Van Assche
498c9afeb5 Introduced more DRD_ prefixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9158
2009-02-14 16:10:53 +00:00
Bart Van Assche
9353dd404e - Moved several functions and variables from one source file to another.
- Created two new source files: drd_load_store.h and .c.
- Removed the header file drd_track.h.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9153
2009-02-14 15:13:31 +00:00
Bart Van Assche
5a950f3e74 Relaxed an assert statement: a thread canceled by pthread_cancel() can really exit with synchr_nesting > 0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9151
2009-02-14 14:46:16 +00:00
Bart Van Assche
6f4f2d4221 Added more comments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8637
2008-09-27 12:35:31 +00:00
Bart Van Assche
a9997c81c7 Added thread_pre_cancel().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8636
2008-09-27 12:26:50 +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