mirror of https://github.com/python/cpython
39370830a9
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. |
||
---|---|---|
.. | ||
_ctypes.vcproj | ||
_ctypes_test.vcproj | ||
_elementtree.vcproj | ||
_hashlib.vcproj | ||
_msi.vcproj | ||
_multiprocessing.vcproj | ||
_socket.vcproj | ||
_sqlite3.vcproj | ||
_ssl.vcproj | ||
_testcapi.vcproj | ||
_tkinter.vcproj | ||
bdist_wininst.vcproj | ||
build.bat | ||
build_env.bat | ||
build_pgo.bat | ||
build_ssl.bat | ||
build_ssl.py | ||
build_tkinter.py | ||
bz2.vcproj | ||
debug.vsprops | ||
env.bat | ||
field3.py | ||
idle.bat | ||
kill_python.c | ||
kill_python.vcproj | ||
make_buildinfo.c | ||
make_buildinfo.vcproj | ||
make_versioninfo.vcproj | ||
pcbuild.sln | ||
pginstrument.vsprops | ||
pgupdate.vsprops | ||
pyd.vsprops | ||
pyd_d.vsprops | ||
pyexpat.vcproj | ||
pyproject.vsprops | ||
python.vcproj | ||
pythoncore.vcproj | ||
pythonw.vcproj | ||
release.vsprops | ||
rmpyc.py | ||
rt.bat | ||
select.vcproj | ||
sqlite3.vcproj | ||
unicodedata.vcproj | ||
w9xpopen.vcproj | ||
winsound.vcproj | ||
x64.vsprops |