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
commitc06dfc02ea84461e3fec57cffb00e7df49ef4f5b (patch)
tree98f4f2a107dd66ea8ef86abc67ce83522daa331d
parentb431626960d64101300d0861258eb7aa30cba6db (diff)
Adjust to threading API changes in libodb
-rw-r--r--odb/mssql/connection-factory.cxx4
1 files 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_--;
}
}