Define RCPPUTILS_TSA_RETURN_CAPABILITY

Define Documentation

RCPPUTILS_TSA_RETURN_CAPABILITY(x)

Attribute on functions or methods, which declares that the function returns a reference to the given capability.

It is used to annotate getter methods that return mutexes. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#return-capability-c