Define RCPPUTILS_TSA_ACQUIRED_BEFORE

Define Documentation

RCPPUTILS_TSA_ACQUIRED_BEFORE(...)

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