Define RCPPUTILS_TSA_ACQUIRED_AFTER

Define Documentation

RCPPUTILS_TSA_ACQUIRED_AFTER(...)

Attribute on member declarations, specifically declarations of mutexes or other capabilities.

These declarations enforce a particular order in which the mutexes must be acquired, in order to prevent deadlock. https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#acquired-before-acquired-after