summaryrefslogtreecommitdiff
path: root/Include/pyatomic.h
Commit message (Collapse)AuthorAgeFilesLines
* - Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (FixBarry Warsaw2011-12-051-0/+1
| | | | given by Campbell Barton).
* Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDERPetri Lehtinen2011-11-191-2/+4
| | | | | This allows compiling extension modules with -Wswitch-enum on gcc. Initial patch by Floris Bruynooghe.
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-0/+2
|
* Make (most of) Python's tests pass under Thread Sanitizer.Jeffrey Yasskin2010-05-031-0/+179
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data race detector that runs on top of valgrind. With this patch, the binaries at http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many but not all of the Python tests. All of regrtest still passes outside of tsan. I've implemented part of the C1x atomic types so that we can explicitly mark variables that are used across threads, and get defined behavior as compilers advance. I've added tsan's client header and implementation to the codebase in dynamic_annotations.{h,c} (docs at http://code.google.com/p/data-race-test/wiki/DynamicAnnotations). Unfortunately, I haven't been able to get helgrind and drd to give sensible error messages, even when I use their client annotations, so I'm not supporting them.