Commit
725518873e2e5f6dd253075167ba390a8c185ef5
by noreply[Simulation.Core] Make TSAN pass for caduceus (#4535)
* add TSAN flag (if enabled) for gcc or clang
* rename cmake option
* solve some race conditions
* fix condition
---------
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>