Use RippleMutex instead of boost::mutex

This commit is contained in:
Vinnie Falco
2013-08-22 21:31:22 -07:00
parent c21a53a3ea
commit f14333012b
79 changed files with 798 additions and 721 deletions

View File

@@ -46,7 +46,7 @@ void RPCSub::sendThread ()
{
{
// Obtain the lock to manipulate the queue and change sending.
boost::mutex::scoped_lock sl (mLockInfo);
ScopedLockType sl (mLock, __FILE__, __LINE__);
if (mDeque.empty ())
{
@@ -93,7 +93,7 @@ void RPCSub::sendThread ()
void RPCSub::send (const Json::Value& jvObj, bool broadcast)
{
boost::mutex::scoped_lock sl (mLockInfo);
ScopedLockType sl (mLock, __FILE__, __LINE__);
if (RPC_EVENT_QUEUE_MAX == mDeque.size ())
{