mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Use RippleMutex instead of boost::mutex
This commit is contained in:
@@ -152,6 +152,7 @@ public:
|
||||
//
|
||||
: SharedSingleton <Application> (SingletonLifetime::neverDestroyed)
|
||||
#endif
|
||||
, mMasterLock (this, "MasterLock", __FILE__, __LINE__)
|
||||
, m_mainService ("io",
|
||||
(getConfig ().NODE_SIZE >= 2) ? 2 : 1,
|
||||
(getConfig ().NODE_SIZE >= 2) ? 1 : 0)
|
||||
@@ -265,7 +266,7 @@ public:
|
||||
return mJobQueue;
|
||||
}
|
||||
|
||||
MasterLockType& getMasterLock ()
|
||||
Application::LockType& getMasterLock ()
|
||||
{
|
||||
return mMasterLock;
|
||||
}
|
||||
@@ -642,6 +643,8 @@ private:
|
||||
bool loadOldLedger (const std::string&, bool);
|
||||
|
||||
private:
|
||||
Application::LockType mMasterLock;
|
||||
|
||||
IoServiceThread m_mainService;
|
||||
IoServiceThread m_auxService;
|
||||
|
||||
@@ -649,8 +652,6 @@ private:
|
||||
//boost::asio::io_service mAuxService;
|
||||
//boost::asio::io_service::work mIOWork;
|
||||
|
||||
MasterLockType mMasterLock;
|
||||
|
||||
LocalCredentials m_localCredentials;
|
||||
LedgerMaster mLedgerMaster;
|
||||
InboundLedgers m_inboundLedgers;
|
||||
|
||||
Reference in New Issue
Block a user