summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2014-03-10 12:16:49 -0400
committerMonty Brandenberg <monty@lindenlab.com>2014-03-10 12:16:49 -0400
commit71e237a3f79cd90b432205460fe6e5c6b536d9db (patch)
treedf37d9d1c79c42ede166a744fe66255295910942 /indra/newview
parentde8fea13627cc5978b8a6135802a52864a11c39a (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/newview')
0 files changed, 0 insertions, 0 deletions