Skip to content

Commit

Permalink
changing back to standard mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
tylera-nvidia authored and cliffburdick committed Apr 18, 2023
1 parent 818f4f4 commit b21a3e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/matx/core/nvtx.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include<functional>
#include<map>
#include <mutex>
#include <shared_mutex>
#include<string>
#include<utility>
#include <nvToolsExt.h>
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit b21a3e0

Please sign in to comment.