[pkg-gnupg-maint] Use of SIGCONT

NIIBE Yutaka gniibe at fsij.org
Tue Feb 13 03:33:50 UTC 2018


Hello,

Just for your information.

In Debian, we have this patch:
    debian/patches/gpg-agent-idling/agent-Allow-threads-to-interrupt-main-select-loop-wi.patch

I like it.  And I adopted the technique to scdaemon.  When card reader
supports USB INTERRUPT transfer, scdaemon doesn't ask the reader
periodically, but just waits on pselect(2).

Last week, I realized that it doesn't work well on NetBSD.  On NetBSD,
signal to self cannot cause EINTR.  Perhaps, because of pthreads
implementation.

Here is the ticket:

    https://dev.gnupg.org/T3778

So, I need to use pipe for such a system.
-- 



More information about the pkg-gnupg-maint mailing list