diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-15 02:59:13 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-15 02:59:13 +0200 |
commit | 7ada94d36be07f693d94315ae80701251a3685e8 (patch) | |
tree | 6a43194140c043d724a92774726a8613052d9a79 /src/Common/libzip/zip_source_zip.c | |
parent | 49fff71d0a6d41840e16d5efed748c73486a721e (diff) | |
download | VeraCrypt-7ada94d36be07f693d94315ae80701251a3685e8.tar.gz VeraCrypt-7ada94d36be07f693d94315ae80701251a3685e8.zip |
Windows: enhance secure desktop handling to try to workaround Windows 11 issue
Several enhancements implemented:
- replace CreateThread by _beginthreadex to avoid potential issues when using C runtime
- use an event to notify monitoring thread to stop instead of a volatile boolean
- perform switch to the regular desktop in the main thread and not in the secure desktop thread
Diffstat (limited to 'src/Common/libzip/zip_source_zip.c')
0 files changed, 0 insertions, 0 deletions