You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
7 months ago
..
LICENSE v811_spc009_project 7 months ago
README.chromium v811_spc009_project 7 months ago
dynamic_annotations.c v811_spc009_project 7 months ago
dynamic_annotations.h v811_spc009_project 7 months ago

README.chromium

Name: dynamic annotations
URL: http://code.google.com/p/data-race-test/wiki/DynamicAnnotations
Version: 4384
License: BSD

ATTENTION: please avoid using these annotations in Chromium code.
They were mainly intended to instruct the Valgrind-based version of
ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer
based on compiler instrumentation understands atomic operations out of the box,
so normally you don't need the annotations.
If you still think you do, please consider writing a comment at http://crbug.com/349861

One header and one source file (dynamic_annotations.h and dynamic_annotations.c)
in this directory define runtime macros useful for annotating synchronization
utilities and benign data races so data race detectors can handle Chromium code
with better precision.

These files were taken from
http://code.google.com/p/data-race-test/source/browse/?#svn/trunk/dynamic_annotations
The files are covered under BSD license as described within the files.

Local modifications:
* made lineno an unsigned short (for -Wconstant-conversion warning fixes)