diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-03 17:30:02 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-03 17:30:02 -0500 |
commit | 1cadfd44fe5ddafaf3ba3560bd8ec8e1351b347d (patch) | |
tree | 8c75a8f75bc8ab17f34bc9c94a644976d88c06f8 /indra/llcommon | |
parent | e09475713b7abe6fcb916f4a770081a1696b57ab (diff) |
DRTVWR-559 WIP - optimize ARC calculation et al.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llmutex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llmutex.h b/indra/llcommon/llmutex.h index 838d7d34c0..0d70da6178 100644 --- a/indra/llcommon/llmutex.h +++ b/indra/llcommon/llmutex.h @@ -36,7 +36,8 @@ //============================================================================ -#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO) +//#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO) +#define MUTEX_DEBUG 0 //disable mutex debugging as it's interfering with profiles #if MUTEX_DEBUG #include <map> @@ -61,7 +62,7 @@ protected: mutable LLThread::id_t mLockingThread; #if MUTEX_DEBUG - std::map<LLThread::id_t, BOOL> mIsLocked; + std::unordered_map<LLThread::id_t, BOOL> mIsLocked; #endif }; |