diff options
author | Neal H. Walfield <[email protected]> | 2015-10-26 12:36:12 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-10-26 12:41:59 +0000 |
commit | 5b0ed7674dc718ee98e0c80aa93ce014f2b51411 (patch) | |
tree | 9d385a5465ba7e662b26a5b252a4928f92bcad9c /dirmngr/dns-stuff.c | |
parent | dirmngr: Add workaround for broken getaddrinfo. (diff) | |
download | gnupg-5b0ed7674dc718ee98e0c80aa93ce014f2b51411.tar.gz gnupg-5b0ed7674dc718ee98e0c80aa93ce014f2b51411.zip |
gpg: When the TOFU DB is in batch mode, periodically drop the locks.
* g10/tofu.c: Include <sched.h>.
(batch_update_started): New variable.
(begin_transaction): If we've been in batch mode for a while, then
commit any extant batch transactions.
(tofu_begin_batch_update): If we are not in batch mode, initialize
batch_update_started.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'dirmngr/dns-stuff.c')
0 files changed, 0 insertions, 0 deletions