diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-11-01 04:45:23 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2019-07-20 18:16:20 +0000 |
commit | d369f30f319f94ec0f8f7b644241b18f03334bc7 (patch) | |
tree | db2f0ba907f3ad5e1f14e40a7b3ac5d56294d5a8 /agent/command.c | |
parent | agent: Create framework of scheduled timers. (diff) | |
download | gnupg-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