diff --git a/hecl/extern/boo b/hecl/extern/boo index fdddeebf5..1a71ed813 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit fdddeebf52c9471b85846b6965070f22c45ff61f +Subproject commit 1a71ed813a8808032b73822605aec7f80f491f1f diff --git a/hecl/include/hecl/hecl.hpp b/hecl/include/hecl/hecl.hpp index b1e0da07f..568573ae4 100644 --- a/hecl/include/hecl/hecl.hpp +++ b/hecl/include/hecl/hecl.hpp @@ -39,6 +39,15 @@ #include "SystemChar.hpp" #include "FourCC.hpp" +#if defined(__has_feature) +#if __has_feature(thread_sanitizer) +#define HECL_NO_SANITIZE_THREAD __attribute__((no_sanitize("thread"))) +#endif +#endif +#ifndef HECL_NO_SANITIZE_THREAD +#define HECL_NO_SANITIZE_THREAD +#endif + namespace hecl { namespace Database diff --git a/hecl/lib/ClientProcess.cpp b/hecl/lib/ClientProcess.cpp index 613072c18..65cafb5ab 100644 --- a/hecl/lib/ClientProcess.cpp +++ b/hecl/lib/ClientProcess.cpp @@ -72,7 +72,7 @@ void ClientProcess::Worker::proc() ClientProcess::ThreadWorker.reset(this); char thrName[64]; - snprintf(thrName, 64, "HECL Client Worker %d", m_idx); + snprintf(thrName, 64, "HECL Worker%d", m_idx); logvisor::RegisterThreadName(thrName); std::unique_lock lk(m_proc.m_mutex);