aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-05-21 18:49:00 +0000
committerWerner Koch <[email protected]>2005-05-21 18:49:00 +0000
commit05e1dc22f0feef8d5af7c8bbb0c0a5129f2c0b05 (patch)
treea893c537329394cab1c954b2606e6d94d1846fe9 /scd/scdaemon.c
parent* protect-tool.c: New option --canonical. (diff)
downloadgnupg-05e1dc22f0feef8d5af7c8bbb0c0a5129f2c0b05.tar.gz
gnupg-05e1dc22f0feef8d5af7c8bbb0c0a5129f2c0b05.zip
* call-scd.c (start_scd): Don't test for an alive scdaemon here.
(agent_scd_check_aliveness): New. * gpg-agent.c (handle_tick): Test for an alive scdaemon. (handle_signal): Print thread info on SIGUSR1. * scdaemon.c (handle_signal): Print thread info on SIGUSR1.
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r--scd/scdaemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 1110d9d76..488a4853b 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -807,7 +807,8 @@ handle_signal (int signo)
break;
case SIGUSR1:
- log_info ("SIGUSR1 received - no action defined\n");
+ log_info ("SIGUSR1 received - printing internal information:\n");
+ pth_ctrl (PTH_CTRL_DUMPSTATE, log_get_stream ());
break;
case SIGUSR2: