History log of /external/valgrind/drd/drd_barrier.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3a1e4bffbdbbf38304f216af405009868f43628 21-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates, to include 2015. No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
ea71ffb08eccc0869c5b9421160fef4052e35c23 05-Aug-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix printf format inconsistencies as pointed out by gcc -Wformat-signedness.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15495 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
d4bab99f83dbc53665c5769c3f6b50ffcd2a9a7d 04-Oct-2013 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Update copyright notice

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13613 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
19f91bbaedb4caef8a60ce94b0f507193cc0bc10 10-Nov-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix more Char/HChar mixups. Closing in...


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13119 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
03f8d3fc25f5a45c5826259d1b33b7f310117279 05-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to include 2012.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
ae37e6d4c9ca1f400ef4c1636319be60f969b2af 22-Jan-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Source code refactoring - use DRD_(thread_get_vc)() wherever appropriate

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12350 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
1081fe2314bc72160d8ff503f11a65905cd4e4df 04-Dec-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove emacs modeline and/or local variables from DRD source files

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12279 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
ad994e885caeb5241cbedf4e47e7821cf164f4e7 13-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing output format slightly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12146 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
74b2d97cbe4fb11f3fc7e489e1812ec1f3228339 08-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12121 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
b92ff0fd192dd05700f7d20db00795965e20b5c5 08-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> DRD, refactoring: Introduce DRD_(trace_msg)()

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12120 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
d378eaae99616b3d4d6c85d0e5839e5b9cd85dd3 30-Jul-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Make racing pthread_barrier_wait() calls trigger an error message instead
of an assertion failure. Also, make barrier tracing output more detailed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11951 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
d61580edabd4bd165c2484b92cb8d4cb2b65d32f 29-Jul-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Fix a race condition in the barrier implementation that could result in false positives.

What could occur before this fix is:
- The pthread_barrier() call in a first thread finishes.
- Another thread invokes pthread_join() on that thread, causing the information
associated with that thread to be removed from the barrier object.
- The pthread_barrier() call in another thread finishes. Because some
thread information has already been removed from the barrier object, the
per-thread vector clock "last" won't be computed correctly by
DRD_(barrier_post_wait)().
- Because of the above false positives could be reported.

This resulted in sporadic failure of the drd/tests/matinv regression test, and
should now be fixed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11945 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
cdc3fdb0d8e7c691f9dc52bcce83b63b1f2bce27 29-Jul-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> drd: Remove an unused member variable from the barrier implementation

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11943 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
922304f9e9d5df1a20a1bb1d4736263c99272aa4 13-Mar-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated modeline and copyright statement in DRD source files.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11642 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
876cafda1cd6f0245b81b1dc5a43d84a86f5f59e 10-Oct-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> E-mail address update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11420 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
9eecbbb9a9cbbd30b903c09a9e04d8efc20bda33 03-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to 2010.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
62cc23286aa2d2cbeb6643a15ef37fe020a3d159 07-Mar-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changes:
- Generalized the behavior of happens-before / happens-after annotations such
that not only 1:1 but also n:m patterns are supported.
- Dropped support for invoking happens-before / happens-after annotations on
POSIX condition variables (pthread_cond_t).
- Report the details about the offending synchronization object in generic
errors.
- Converted a few tl_assert() statements into error messages.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11073 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
63c92ea799549976957f5b4d54ede744f762c56f 19-Jul-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> DRD no longer prints the thread ID's assigned by the Valgrind core but only those assigned by DRD itself.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10488 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
1e29ebcf5a0d5d29434d112bda3a584b4a3f8066 15-Jul-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge drd/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10466 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
8f822af9b234e7c553c408eba65a641c4773457f 08-Jun-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10279 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
7627be3e26162e4f59ccfd35eaf31495ddefdf9b 06-Jun-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Consistency improvement: made sure that for all synchronization operations vector clocks are combined after having created a new segment instead of before.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10265 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
d45d99553c15a361bb797d21ec6afb9bad22d2d4 31-May-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> - Added support for most of the ANNOTATE_...() macro's supported by
ThreadSanitizer.
- Modified DRD's error reporting code such that it does no longer let
the Valgrind core print the Valgrind thread ID but that it now prints
the DRD thread ID and name. Updated expected output files where
necessary.
- Modified drd/test/Makefile.am such that the tests using gcc's built-in
functions for atomic memory access such that these are only compiled when
the gcc version in use supports these built-in functions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
bedfd237fbdc80d0c917cfcb85a94b5561c92633 26-Mar-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> - 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 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
776a91e8fe04875abc38c1e7d0bc30175d285975 22-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated documentation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9216 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
d2c5eae561040706a7eb45c0f3988dcd538c8d7e 21-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> 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 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
86562bd89ac23ce795d19c71fabcb9d1c8f956d3 16-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> - Updated copyright statements.
- Improved consistency of source file headers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9182 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
62a784c9382fdf7184065ad76ae8d3b905605f21 15-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Wrapped DRD_() macro around thread-related function names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9168 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
195e41fe2b9e02e142a0461113bfa55c89d24c5e 15-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Wrapped DRD_() macro around all client object function names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9166 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
a8cf765964dc9b9436384469a0a30889b24d1997 15-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Wrapped DRD_() macro around all barrier-related function names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9165 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
62ada3f31afe602f7c9a651530d16b06655400ff 14-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Wrapped DRD_() macro around all segment function names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9160 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
fcff0b95e8716ed0fc59185a23ec4f4e38dc8a40 17-Nov-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Print an error message instead of asserting when the count argument of pthread_barrier_init() is zero. Fixed a spelling error in an error message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8776 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
9c606bd8634cd6b67bb41fa645b5c639668cfa2d 18-Sep-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge all remaining changes from branches/PTRCHECK. These are some
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
/external/valgrind/drd/drd_barrier.c
7f912c04a379f8bad91cb37b9e434240e4a04b60 07-Jul-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated internal documentation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8375 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
22f74579e74ebf558eb3702eaaf79accb09e5cfe 07-Jul-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Out-of-spec use of POSIX barriers could make drd crash -- fixed this.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8374 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c
ccf17de11cac09dc387e6cb115fdee0ae6e29e70 04-Jul-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> 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 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/drd/drd_barrier.c