From c06dfc02ea84461e3fec57cffb00e7df49ef4f5b 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/mssql/connection-factory.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/mssql/connection-factory.cxx b/odb/mssql/connection-factory.cxx index b0815cf..afcdc0a 100644 --- a/odb/mssql/connection-factory.cxx +++ b/odb/mssql/connection-factory.cxx @@ -41,7 +41,7 @@ namespace odb while (in_use_ != 0) { waiters_++; - cond_.wait (); + cond_.wait (l); waiters_--; } } @@ -78,7 +78,7 @@ namespace odb // Wait until someone releases a connection. // waiters_++; - cond_.wait (); + cond_.wait (l); waiters_--; } } -- cgit v1.1