diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-09-16 15:59:19 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-09-16 15:59:19 -0400 |
commit | e550533e23323ebf8e380f7d88387fc04740bc2e (patch) | |
tree | 5fdfa974cc3a3ea04d6c85e1de0f503df059e8f6 /indra | |
parent | fa70b619efcdaad27db6548f9eed235e191bd4ec (diff) |
SH-2434 WIP testing possibility of always using unnested mutex locks to see
if that makes a difference.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llthread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index c732e3bc77..0fa98e5c45 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -151,15 +151,15 @@ protected: //============================================================================ -#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO) +//#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO) -#ifdef MUTEX_DEBUG +//#ifdef MUTEX_DEBUG // We really shouldn't be using recursive locks. Make sure of that in debug mode. #define MUTEX_FLAG APR_THREAD_MUTEX_UNNESTED -#else +//#else // Use the fastest platform-optimal lock behavior (can be recursive or non-recursive). -#define MUTEX_FLAG APR_THREAD_MUTEX_DEFAULT -#endif +//#define MUTEX_FLAG APR_THREAD_MUTEX_DEFAULT +//#endif class LL_COMMON_API LLMutexBase { |