SH-682 WIP: allow DEBUG_FAST_TIMER_THREADS to work when enabled

meow-7.2.2
Brad Payne (Vir Linden) 2010-12-17 14:13:07 -05:00
parent ad625861e1
commit 9a8dbb8520
2 changed files with 2 additions and 2 deletions

2
indra/llcommon/llfasttimer_class.h Normal file → Executable file
View File

@ -39,7 +39,7 @@ class LLMutex;
#include "llsd.h"
#if DEBUG_FAST_TIMER_THREADS
void assert_main_thread();
LL_COMMON_API void assert_main_thread();
#endif
class LL_COMMON_API LLFastTimer

2
indra/llcommon/llthread.cpp Normal file → Executable file
View File

@ -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)