diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-04-29 17:33:37 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-04-29 17:33:37 -0700 |
commit | 77b13dc2df679c46f648a4f99c8e4d8836983a48 (patch) | |
tree | ebdf680fb2be21edb02d9f5ef5e4133cf307236d /indra/llinventory/llnotecard.cpp | |
parent | dacc5afbf0f1bde7454c1eadf56edb669d0741a9 (diff) |
Incorporate suggestions from Richard's review of the LLPlugin changes.
Use LLMutexLock (stack-based locker/unlocker) for the straightforward cases instead of explicit lock()/unlock().
There are still a couple of cases (one overlapping lock lifetime and two loops that unlock the mutex to call another function inside the loop) where I'm leaving explicit lock/unlock calls.
Rename LLPluginProcessParent::sPollThread to sReadThread, for consistency.
Made the LLPluginProcessParent destructor hold mIncomingQueueMutex while removing the instance from the global list -- this should prevent a possible race condition in LLPluginProcessParent::poll().
Removed a redundant check when calling LLPluginProcessParent::setUseReadThread().
Diffstat (limited to 'indra/llinventory/llnotecard.cpp')
0 files changed, 0 insertions, 0 deletions