[PATCH] Cygwin: revert use of CancelSyncronousIo on wait_thread.
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Nov 25 11:32:38 GMT 2024
On Nov 23 08:37, Jeremy Drake via Cygwin-patches wrote:
> From: Jeremy Drake <cygwin@jdrake.com>
>
> It appears this is causing hangs on native x86_64 in similar scenarios
> as the hangs on ARM64, because `CancelSynchronousIo` is returning `TRUE`
> but not canceling the `ReadFile` call as expected.
>
> Addresses: https://github.com/msys2/MSYS2-packages/issues/4340#issuecomment-2491401847
> Fixes: b091b47b9e56 ("cygthread: suspend thread before terminating.")
> Signed-off-by: Jeremy Drake <cygwin@jdrake.com>
> ---
> see also https://github.com/msys2/msys2-runtime/pull/243
>
> winsup/cygwin/pinfo.cc | 10 +++-------
> winsup/cygwin/sigproc.cc | 12 ++----------
> 2 files changed, 5 insertions(+), 17 deletions(-)
Pushed.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list