diff options
author | Oz Linden <oz@lindenlab.com> | 2012-12-10 15:24:08 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-12-10 15:24:08 -0500 |
commit | 623a06aabd9d7e5c7e74211360aa233ec33e4977 (patch) | |
tree | 21c815db542e45fc07473cd26a24561c5f27add8 /indra/llcommon/llthread.h | |
parent | d56a98dea4c7523a759bea4740d8bdde1df15e30 (diff) | |
parent | a9ada0cc6a1418da0908f995b1369912a270b22d (diff) |
merge release tag
Diffstat (limited to 'indra/llcommon/llthread.h')
-rw-r--r-- | indra/llcommon/llthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index 115bf47553..5c8bbca2ca 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -88,6 +88,11 @@ public: U32 getID() const { return mID; } + // Called by threads *not* created via LLThread to register some + // internal state used by LLMutex. You must call this once early + // in the running thread to prevent collisions with the main thread. + static void registerThreadID(); + private: BOOL mPaused; |