aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-05 17:55:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-05 17:55:04 +0200
commitebe9e9d0d4cf1a8a97ad85743219818f02ed76b6 (patch)
treedb096e5ec9d799073351b98264aa3dcf11c9ff1a
parent355d88d921bf6dc5984ead33c35ee169f462a0cf (diff)
Adjust to threading API changes in libodb
-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_--;
}