Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 532 by [email protected]: [PATCH] Add the atomicops
implementation for compiler-based ThreadSanitizer
http://code.google.com/p/protobuf/issues/detail?id=532
The attached patch adds a special implementation for atomic operations for
ThreadSanitizer, a compiler-based data race detector
(clang.llvm.org/docs/ThreadSanitizer.html)
This implementation is included in the case the THREAD_SANITIZER macro is
defined. It uses the ThreadSanitizer API functions that describe the
semantics of the atomics to the tool.
Similar atomics implementations are used by Chromium
(http://src.chromium.org/viewvc/chrome/trunk/src/base/atomicops_internals_tsan.h?revision=172032)
and V8.
Attachments:
tsan_atomics.patch 18.4 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.