aboutsummaryrefslogtreecommitdiffstats
path: root/common/logging.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2017-11-08 15:26:40 +0000
committerDaniel Kahn Gillmor <[email protected]>2017-11-08 16:55:55 +0000
commit149041b0b917f4298239fe18b5ebd5ead71584a6 (patch)
tree9f28942aa757a13c3ca0d7f7b16c54858e13afbe /common/logging.c
parentassuan: Reorganize waiting for socket. (diff)
downloadgnupg-149041b0b917f4298239fe18b5ebd5ead71584a6.tar.gz
gnupg-149041b0b917f4298239fe18b5ebd5ead71584a6.zip
assuan: Use exponential decay for first 1s of spinlock.
* common/asshelp.c (wait_for_sock): instead of checking the socket every second, we check 10 times in the first second (with exponential decay). -- This cuts the wall clock time for the standard test suite roughly by half. GnuPG-bug-id: 3490 Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'common/logging.c')
0 files changed, 0 insertions, 0 deletions