Define RCPPUTILS_TSA_REQUIRES_SHARED
Defined in File thread_safety_annotations.hpp
Define Documentation
-
RCPPUTILS_TSA_REQUIRES_SHARED(...)
Attribute on functions or methods, which declares that the calling thread must have shared access to the given capabilities.
More than one capability may be specified. The capabilities must be held on entry to the function, and must still be held on exit. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#requires-requires-shared