Align mutex and condition_variable

This commit is contained in:
Howard Hinnant
2016-03-17 17:29:19 -04:00
committed by seelabs
parent 8268162cac
commit fdd2740f8b
2 changed files with 4 additions and 1 deletions

View File

@@ -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();
}