aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2016-11-01 04:45:23 +0000
committerDaniel Kahn Gillmor <[email protected]>2019-07-20 18:16:20 +0000
commitd369f30f319f94ec0f8f7b644241b18f03334bc7 (patch)
treedb2f0ba907f3ad5e1f14e40a7b3ac5d56294d5a8 /agent/command.c
parentagent: Create framework of scheduled timers. (diff)
downloadgnupg-d369f30f319f94ec0f8f7b644241b18f03334bc7.tar.gz
gnupg-d369f30f319f94ec0f8f7b644241b18f03334bc7.zip
agent: Allow threads to interrupt main select loop with SIGCONT.
* agent/gpg-agent.c (interrupt_main_thread_loop): New function on non-windows platforms, allows other threads to interrupt the main loop if there's something that the main loop might be interested in. -- For example, the main loop might be interested in changes in program state that affect the timers it expects to see. I don't know how to do this on Windows platforms, but i welcome any proposed improvements. Signed-off-by: Daniel Kahn Gillmor <[email protected]> Gbp-Pq: Topic gpg-agent-idling Gbp-Pq: Name agent-Allow-threads-to-interrupt-main-select-loop-wi.patch
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions