Define RCPPUTILS_TSA_ASSERT_SHARED_CAPABILITY

Define Documentation

RCPPUTILS_TSA_ASSERT_SHARED_CAPABILITY(...)

Perform a run-time test to see whether the calling thread holds the given shared capability.

The function is assumed to fail (no return) if the capability is not held. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#assert-capability-and-assert-shared-capability