Define RCPPUTILS_TSA_REQUIRES

Define Documentation

RCPPUTILS_TSA_REQUIRES(...)

Attribute on functions or methods, which declares that the calling thread must have exclusive 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