diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2014-03-10 12:16:49 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2014-03-10 12:16:49 -0400 |
commit | 71e237a3f79cd90b432205460fe6e5c6b536d9db (patch) | |
tree | df37d9d1c79c42ede166a744fe66255295910942 /indra/llcommon/llworkerthread.h | |
parent | de8fea13627cc5978b8a6135802a52864a11c39a (diff) |
MAINT-3703 Suspected thread race crasher in fmodex library
Two problems found in DLL involving threads. First, DllMain
was reinitializing a critical section for all entry reasons
(process attach, detach and thread attach, detach). Should
only be done on process attach. Second, static container
object was being modified and accessed without serialization.
Added some double-check locking to the initialization path
to reduce the total number of serialization calls made while
making the code thread safe.
Diffstat (limited to 'indra/llcommon/llworkerthread.h')
0 files changed, 0 insertions, 0 deletions