SH-682 WIP: allow DEBUG_FAST_TIMER_THREADS to work when enabled
parent
ad625861e1
commit
9a8dbb8520
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue