Define RCPPUTILS_TSA_NO_THREAD_SAFETY_ANALYSIS
Defined in File thread_safety_annotations.hpp
Define Documentation
-
RCPPUTILS_TSA_NO_THREAD_SAFETY_ANALYSIS
Attribute on functions or methods, which turns off thread safety checking for that method.
RCPPUTILS_TSA_NO_THREAD_SAFETY_ANALYSIS provides an escape hatch for functions which are either (1) deliberately thread-unsafe, or (2) are thread-safe, but too complicated for the analysis to understand. Reasons for (2) will be described in the Known Limitations, below. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#return-capability-c