agent: Have a thread to wait for the child process of scdaemon.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 26 Nov 2018 03:07:36 +0000 (12:07 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 26 Nov 2018 03:07:36 +0000 (12:07 +0900)
commit40c7923ea881881a48de8f303b0870ec5910e13d
treec0a7a41f8cb211e517ab1a2d47339f5f414b6f59
parent9fb3f0f3f79e74166cce8e0781e97043f25890cc
agent: Have a thread to wait for the child process of scdaemon.

* agent/call-scd.c (wait_child_thread): New.
(start_scd): Create a thread for wait_child_thread.
(agent_scd_check_aliveness): Remove.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/agent.h
agent/call-scd.c
agent/gpg-agent.c