mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-14 16:15:51 +00:00
Align mutex and condition_variable
This commit is contained in:
@@ -34,6 +34,9 @@ class AbstractClient
|
||||
{
|
||||
public:
|
||||
virtual ~AbstractClient() = default;
|
||||
AbstractClient() = default;
|
||||
AbstractClient(AbstractClient const&) = delete;
|
||||
AbstractClient& operator=(AbstractClient const&) = delete;
|
||||
|
||||
/** Submit a command synchronously.
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@ private:
|
||||
void
|
||||
on_read_done()
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_);
|
||||
std::lock_guard<std::mutex> lock(m0_);
|
||||
b0_ = true;
|
||||
cv0_.notify_all();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user