]> git.ipfire.org Git - thirdparty/pdns.git/commit
bind backend: pthread_mutex_t should be inited and destroyed and not be copied 8602/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 27 Sep 2019 12:40:24 +0000 (14:40 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 3 Dec 2019 09:46:19 +0000 (10:46 +0100)
commitf5d264a6352da2b2272eb1245a95ccc2258f5121
tree6a5e49cdf65e965686283d6b0c084e68e165a463
parent84bca7b881ebd5dbb8dce55d2d224a196aceff32
bind backend: pthread_mutex_t should be inited and destroyed and not be copied

To make our live easier, use a native C++ mutex.
Fixes #8161

(cherry picked from commit 7fff09acbd57c41b28d6dfba7a55e561167ace1a)
modules/bindbackend/bindbackend2.cc
modules/bindbackend/bindbackend2.hh