mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Helper functions.
This commit is contained in:
@@ -798,4 +798,10 @@ void LedgerAcquireMaster::sweep()
|
||||
}
|
||||
}
|
||||
|
||||
int LedgerAcquire::getFetchCount()
|
||||
{
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
return mLedgers.size();
|
||||
}
|
||||
|
||||
// vim:ts=4
|
||||
|
||||
Reference in New Issue
Block a user