chiark / gitweb /
gpg-agent connection count: Introduce locking
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 18:12:21 +0000 (18:12 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 20:46:45 +0000 (20:46 +0000)
commit5c8a2d720464e4a7d58bca159c9f73f7a2f51b03
tree0f41b376ce9fb061bbf285e54f3a5ba4dba8a640
parent6f975778d5e731c63062f2617ff201e11d557e1b
gpg-agent connection count: Introduce locking

This variable is incremented and decremented by each individual
thread.  It must therefore be protected by a lock.

Rename it to prove we have found all the references.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
agent/gpg-agent.c