From ebe9e9d0d4cf1a8a97ad85743219818f02ed76b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Aug 2016 17:55:04 +0200 Subject: Adjust to threading API changes in libodb --- odb/mysql/connection-factory.cxx | 4 ++-- 1 file 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_--; } -- cgit v1.1