summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-12-21 10:38:08 -0500
committerLoren Shih <seraph@lindenlab.com>2010-12-21 10:38:08 -0500
commite0d77c277a46fa1161505a177e99b456854a98fd (patch)
tree9c0bb28f90368e34fb907950ca54b94df85b5fa2 /indra/llcommon
parentc87142e5d779fb3d5375842658a63a1af2573094 (diff)
parente7f3f3bdbbec310030209e09d389cd434adb7991 (diff)
Automated merge from mesh-development
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llfasttimer_class.h6
-rw-r--r--indra/llcommon/llthread.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/indra/llcommon/llfasttimer_class.h b/indra/llcommon/llfasttimer_class.h
index 2a645315c9..038a2d246a 100644
--- a/indra/llcommon/llfasttimer_class.h
+++ b/indra/llcommon/llfasttimer_class.h
@@ -31,16 +31,14 @@
#define FAST_TIMER_ON 1
#define TIME_FAST_TIMERS 0
-#define DEBUG_FAST_TIMER_THREADS 0
+#define DEBUG_FAST_TIMER_THREADS 1
class LLMutex;
#include <queue>
#include "llsd.h"
-#if DEBUG_FAST_TIMER_THREADS
-void assert_main_thread();
-#endif
+LL_COMMON_API void assert_main_thread();
class LL_COMMON_API LLFastTimer
{
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp
index f0b7ac5def..b4617c5453 100644
--- a/indra/llcommon/llthread.cpp
+++ b/indra/llcommon/llthread.cpp
@@ -62,7 +62,7 @@ U32 ll_thread_local sThreadID = 0;
U32 LLThread::sIDIter = 0;
-void assert_main_thread()
+LL_COMMON_API void assert_main_thread()
{
static U32 s_thread_id = LLThread::currentID();
if (LLThread::currentID() != s_thread_id)