diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-05 17:55:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-05 17:55:04 +0200 |
commit | f333ed487013f98d268e905b230d3b072f1ee90c (patch) | |
tree | b5d813f27b0036907738f8828d0816aa49ae1a66 | |
parent | eee695ea3522f581ad75aeaa466b7cdae12e46e0 (diff) |
Adjust to threading API changes in libodb
-rw-r--r-- | odb/oracle/connection-factory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/connection-factory.cxx b/odb/oracle/connection-factory.cxx index 17bb68f..6847f4d 100644 --- a/odb/oracle/connection-factory.cxx +++ b/odb/oracle/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_--; } } |