Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
LICENSE | H A D | 25-Apr-2025 | 1.4 KiB | 29 | 28 | |
README.chromium | H A D | 25-Apr-2025 | 1.1 KiB | 24 | 19 | |
dynamic_annotations.c | H A D | 25-Apr-2025 | 9.3 KiB | 270 | 169 | |
dynamic_annotations.h | H A D | 25-Apr-2025 | 26.4 KiB | 596 | 312 |
README.chromium
1Name: dynamic annotations 2URL: http://code.google.com/p/data-race-test/wiki/DynamicAnnotations 3Version: 4384 4License: BSD 5 6ATTENTION: please avoid using these annotations in Chromium code. 7They were mainly intended to instruct the Valgrind-based version of 8ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer 9based on compiler instrumentation understands atomic operations out of the box, 10so normally you don't need the annotations. 11If you still think you do, please consider writing a comment at http://crbug.com/349861 12 13One header and one source file (dynamic_annotations.h and dynamic_annotations.c) 14in this directory define runtime macros useful for annotating synchronization 15utilities and benign data races so data race detectors can handle Chromium code 16with better precision. 17 18These files were taken from 19http://code.google.com/p/data-race-test/source/browse/?#svn/trunk/dynamic_annotations 20The files are covered under BSD license as described within the files. 21 22Local modifications: 23* made lineno an unsigned short (for -Wconstant-conversion warning fixes) 24