diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2013-08-06 18:05:34 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2013-08-06 18:05:34 -0400 |
commit | 0d93247359531388f88f22f85326e1142d801e85 (patch) | |
tree | 9fc012e50815f25bd18474f32b671e9657fc561b /indra/llcommon/llfile.cpp | |
parent | 43788d612042deb6f9329746a101774370f7c67b (diff) |
SH-4411 Thread/mutex rework between main and worker thread
Have the ::notifyLoadedMeshes() method doing correct locking
and stall avoidance at the same time. This method now does
lazy mutex lock acquisition (trylock()) and if it fails on
either, it gives up and comes back later. Capture the maximum
number of sequential failures and report this at the end of
the run in the log. (So far, with big mesh regions, I've
only seen 1s and 2s.) Locking/mutex requirements sorted in
other locations as well. LLMutex gets trylock() method as
well as new LLMutexTrylock scoped locking class. Clean up
some documentation, more to do.
Diffstat (limited to 'indra/llcommon/llfile.cpp')
0 files changed, 0 insertions, 0 deletions