Define RCPPUTILS_TSA_PT_GUARDED_BY

Define Documentation

RCPPUTILS_TSA_PT_GUARDED_BY(x)

Similar to RCPPUTILS_TSA_GUARDED_BY, but is intended for use on pointers and smart pointers.

There is no constraint on the data member itself, but the data that it points to is protected by the given capability. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#guarded-by-c-and-pt-guarded-by-c