Define RCPPUTILS_TSA_ACQUIRE_SHARED

Define Documentation

RCPPUTILS_TSA_ACQUIRE_SHARED(...)

Attribute on functions or methods, which declares that the function acquires a shared capability, but does not release it.

The caller must not hold the given capability on entry, and it will hold the capability on exit. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#acquire-acquire-shared-release-release-shared