diff options
author | NIIBE Yutaka <[email protected]> | 2023-08-24 07:07:26 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-08-24 07:07:26 +0000 |
commit | 716e59b0b62888776706472e69ee595e00a2e010 (patch) | |
tree | df2d0463594886ba335feb38390723c03e948a5d /dirmngr/dirmngr-client.c | |
parent | tpm2d: Fix call to assuan_control. (diff) | |
download | gnupg-716e59b0b62888776706472e69ee595e00a2e010.tar.gz gnupg-716e59b0b62888776706472e69ee595e00a2e010.zip |
agent: Add agent_kick_the_loop function.
* agent/agent.h (agent_kick_the_loop): New.
* agent/gpg-agent.c [HAVE_W32_SYSTEM] (the_event2): New.
[HAVE_PSELECT_NO_EINTR] (event_pipe_fd): New.
[!HAVE_PSELECT_NO_EINTR] (main_thread_pid): New.
(create_an_event): New, factored out.
(get_agent_daemon_notify_event): Use create_an_event.
(handle_signal): Add a case for SIGCONT.
(agent_kick_the_loop): New.
(handle_connections): Call pselect possibly with the pipe.
Call eselect with THE_EVENT2.
--
GnuPG-bug-id: 6682
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr-client.c')
0 files changed, 0 insertions, 0 deletions