Define RCPPUTILS_TSA_RELEASE_SHARED

Define Documentation

RCPPUTILS_TSA_RELEASE_SHARED(...)

Declare that the function releases the given shared capability.

The caller must hold the shared capability on entry, and will no longer hold it on exit. It does not matter whether the given capability is shared or exclusive. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#acquire-acquire-shared-release-release-shared