Home GnuPG
Diffusion GnuPG 6bf698197222

agent: Improve concurrency when Libgcrypt 1.8 is used.
6bf698197222Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Improve concurrency when Libgcrypt 1.8 is used.

* agent/gpg-agent.c (thread_init_once): Tell Libgcrypt to reinit the
system call clamp.
(agent_libgcrypt_progress_cb): Do not sleep if Libgcrypt is recent
enough.

This patch prepares for a feature comming with Libgcrypt 1.8.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 12 2016, 11:02 AM
Parents
rG4473db1ef240: agent: Kludge to mitigate blocking calls in Libgcrypt.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG6bf698197222: agent: Improve concurrency when Libgcrypt 1.8 is used. (authored by Werner Koch <wk@gnupg.org>).Nov 12 2016, 11:03 AM