diff options
| author | NIIBE Yutaka <[email protected]> | 2019-02-19 05:36:50 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-02-19 05:36:50 +0000 |
| commit | c395f8315362793409be54aca630ce6e903ea984 (patch) | |
| tree | 8db78753af0889c4258b0d1d1c5bd2728d04b059 /scd/app-openpgp.c | |
| parent | agent: Minor change for pinentry status handling. (diff) | |
| download | gnupg-c395f8315362793409be54aca630ce6e903ea984.tar.gz gnupg-c395f8315362793409be54aca630ce6e903ea984.zip | |
agent: Terminate pinentry process gracefully, by watching socket.
* agent/call-pinentry.c (watch_sock): New.
(do_getpin): Spawn the watching thread.
--
While we don't have npth_cancel (and it's difficult to implement it
correctly), this is a kind of best compromise allowing a thread's
polling when pinentry is active.
GnuPG-bug-id: 2011
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions
