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 | dc93d2e69df6e1649afff87ac49408649bdf608b (patch) | |
tree | edbf50b8ab2eeefa1f3d1d430dd61d77c2b2af6c /odb/pgsql/connection-factory.cxx | |
parent | fa085bca16a685b768e091c7c352e97677b4d8ff (diff) |
Adjust to threading API changes in libodb
Diffstat (limited to 'odb/pgsql/connection-factory.cxx')
-rw-r--r-- | odb/pgsql/connection-factory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/pgsql/connection-factory.cxx b/odb/pgsql/connection-factory.cxx index a57fc41..639f8b7 100644 --- a/odb/pgsql/connection-factory.cxx +++ b/odb/pgsql/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_--; } } |