On Fri, 20 Feb 2015 10:36, luk...@dressyvagabonds.com said: > In order to work around the hang, we’re running this call in a separate > thread now, and if it doesn’t return within a few seconds (5 at the moment), > it sends a timeout to the scdaemon.
Why not using a simple alarm() based watchdog and termintate pcsc-wrapper in this case? We do the same in the keyserver helpers. If would also be possible to do tomeout in the read call of apdu.c but that adds complexity at the wrong place. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users