Added a thread-safe and robust wrapper for APR pools.
See http://redmine.imprudenceviewer.org/issues/590 and https://jira.secondlife.com/browse/SNOW-596
This commit is contained in:
@@ -219,7 +219,7 @@ const S32 LLVFSFileBlock::SERIAL_SIZE = 34;
|
||||
LLVFS::LLVFS(const std::string& index_filename, const std::string& data_filename, const BOOL read_only, const U32 presize, const BOOL remove_after_crash)
|
||||
: mRemoveAfterCrash(remove_after_crash)
|
||||
{
|
||||
mDataMutex = new LLMutex(0);
|
||||
mDataMutex = new LLMutex;
|
||||
|
||||
S32 i;
|
||||
for (i = 0; i < VFSLOCK_COUNT; i++)
|
||||
|
||||
Reference in New Issue
Block a user