aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mysql/connection-factory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/connection-factory.cxx b/odb/mysql/connection-factory.cxx
index 04f7ab5..a8d0caf 100644
--- a/odb/mysql/connection-factory.cxx
+++ b/odb/mysql/connection-factory.cxx
@@ -156,7 +156,7 @@ namespace odb
while (in_use_ != 0)
{
waiters_++;
- cond_.wait ();
+ cond_.wait (l);
waiters_--;
}
}
@@ -207,7 +207,7 @@ namespace odb
// Wait until someone releases a connection.
//
waiters_++;
- cond_.wait ();
+ cond_.wait (l);
waiters_--;
}