Home GnuPG
Diffusion GnuPG 71e5282c25ba

scd: Fix for GNU/Linux suspend/resume.

Description

scd: Fix for GNU/Linux suspend/resume.

* configure.ac (require_pipe_to_unblock_pselect): Default is "yes".
* scd/scdaemon.c (scd_kick_the_loop): Minor clean up.

Normally SIGCONT or SIGUSR2 works for unblocking pselect. But on my
machine with GNU/Linux, when a machine is suspend/resume-ed, pselect
keeps blocked, while signal itself is delivered.

It's better to use pipe.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 13 2018, 4:05 AM
Parents
rG655f0b9ad013: scd: Fix typo in previous commit.
Branches
Unknown
Tags
Unknown