Closed staskau closed 3 years ago
Try with 50f086c
with 50f086c SCC does not compile:
scc/src/common/util/logging.h:122:39: error: use of deleted function ‘std::atomic<_Tp>::atomic(const std::atomic<_Tp>&) [with _Tp = logging::log_level]’
122 | static std::atomic<log_level> reportingLevel = WARNING;
the build error can be fixed by initializing reportingLevel as follows:
static std::atomic<log_level> reportingLevel{WARNING};
However the data race is still present (see attached log file) raven_xspn_multithread.log
After updating the SCC lib to the latest version, ThreadSanitizer complains about data races like this one: https://jenkins.minres.com/blue/organizations/jenkins/Raven-Tests/detail/Raven-Tests/101/pipeline