Tidy up LeakChecked and configuration macro

This commit is contained in:
Vinnie Falco
2013-06-30 09:04:09 -07:00
parent e3974c112e
commit 4d7fe731d8
16 changed files with 203 additions and 164 deletions

View File

@@ -82,6 +82,12 @@ public:
bool isLoaded ()
{
// VFALCO TODO This could be replaced with a SharedData and
// using a read/write lock instead of a critical section.
//
// NOTE This applies to all the locking in this class.
//
//
boost::mutex::scoped_lock sl (mLock);
return (raiseCount != 0) || (mLocalTxnLoadFee != lftNormalFee);
}