diff options
author | Christopher Faylor <me@cgf.cx> | 2012-06-19 00:31:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-06-19 00:31:15 +0000 |
commit | af5cd145835d35519af02d0d226f67eb777e4945 (patch) | |
tree | d31ebb964550d4e73c3f0d63d3fa0d1b502e44f4 /winsup/cygwin/syscalls.cc | |
parent | 88fbcb5afd6d7d687387b22509037d99e2aa07ff (diff) | |
download | newlib-af5cd145835d35519af02d0d226f67eb777e4945.zip newlib-af5cd145835d35519af02d0d226f67eb777e4945.tar.gz newlib-af5cd145835d35519af02d0d226f67eb777e4945.tar.bz2 |
* cygwait.cc (cancelable_wait): Mimic old cygwait behavior more closely wrt
handling of call_signal_handler.
* cygwait.h (WAIT_CANCELED): Move here and redefine.
(WAIT_SIGNALED): Ditto.
* thread.h (WAIT_CANCELED): Delete.
(WAIT_SIGNALED): Ditto.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 2077a0a..c0cacac 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -2295,7 +2295,7 @@ retry: { debug_printf ("status %p", status); if (status == STATUS_SHARING_VIOLATION - && WaitForSingleObject (signal_arrived, 10L) != WAIT_OBJECT_0) + && cygwait (10L) != WAIT_SIGNALED) { /* Typical BLODA problem. Some virus scanners check newly generated files and while doing that disallow DELETE access. That's really |