diff options
author | Werner Koch <[email protected]> | 2018-11-01 08:55:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-11-01 08:55:24 +0000 |
commit | 63ba09b541dabbe838253926896e721cb9be564a (patch) | |
tree | 26f2824b31ab5aafd1a351a4224b38161efa7ce7 /src/sys-util.h | |
parent | w32: Merge all the object tables of w32-io into one. (diff) | |
download | gpgme-63ba09b541dabbe838253926896e721cb9be564a.tar.gz gpgme-63ba09b541dabbe838253926896e721cb9be564a.zip |
w32: Use CancelSynchronousIo in destroy_reader.
* src/w32-util.c (_gpgme_w32_cancel_synchronous_io): New.
* src/w32-io.c (destroy_reader): Use it here.
--
This has not been tested but should on Vista and later help to fix a
possible hang.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/sys-util.h')
-rw-r--r-- | src/sys-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys-util.h b/src/sys-util.h index 094399c4..6cb22245 100644 --- a/src/sys-util.h +++ b/src/sys-util.h @@ -30,6 +30,7 @@ char *_gpgme_get_gpgconf_path (void); #ifdef HAVE_W32_SYSTEM const char *_gpgme_get_inst_dir (void); +void _gpgme_w32_cancel_synchronous_io (HANDLE thread); #endif #endif /* SYS_UTIL_H */ |