From b21a3e0328fc4f5ad5f5371ba8823917e3ce0799 Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 13 Apr 2023 22:40:29 +0000 Subject: [PATCH] changing back to standard mutex --- include/matx/core/nvtx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/matx/core/nvtx.h b/include/matx/core/nvtx.h index 157c65b8..29866242 100644 --- a/include/matx/core/nvtx.h +++ b/include/matx/core/nvtx.h @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -87,7 +86,7 @@ static const int32_t nvtxColors[nunNvtxColors] = { inline uint64_t curColorIdx; ///< counter for rotation of colors for sequential ranges inline std::map< int, nvtxRangeId_t> nvtx_eventMap; ///< map of currently active NVTX ranges -inline std::shared_mutex nvtx_memory_mtx; ///< Mutex protecting updates from map +inline std::mutex nvtx_memory_mtx; ///< Mutex protecting updates from map inline matx_nvxtLogLevels globalNvtxLevel = matx_nvxtLogLevels::MATX_NVTX_LOG_API;