]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pipes: cancel async IO if thread cancellation is in progress
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 6 Sep 2021 12:35:05 +0000 (14:35 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 13 Sep 2021 15:45:54 +0000 (17:45 +0200)
commit477a593693076ce252ee463c4d06a9fa12a00d02
tree1e50eb80be083ff5ccee14ddc0c6f551ffc87c8e
parentfadbedd9ca5f9117aba38b8aa0d7bf705d4c8d5d
Cygwin: pipes: cancel async IO if thread cancellation is in progress

Just cancelling a thread doesn't cancel async IO started by this thread.
Fix this by returning from cygwait and calling CancelIo before canceling
self.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler_pipe.cc
This page took 0.027415 seconds and 5 git commands to generate.