Define RCPPUTILS_TSA_ASSERT_CAPABILITY

Define Documentation

RCPPUTILS_TSA_ASSERT_CAPABILITY(...)

Perform a run-time test to see whether the calling thread holds the given 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