From 37a4aa21c56148e80442b262b3a394fadcedd0dc Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 15 Jul 2008 09:14:09 +0000 Subject: * thread_win32.c (ubf_handle): cancel blocking IO if it can (only Vista). see [ruby-dev:35446] * win32/win32.c (errmap): add ERROR_OPERATION_ABORTED as EINTR. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/win32.c b/win32/win32.c index 11774cda1..b1e461649 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -164,6 +164,7 @@ static struct { { ERROR_PIPE_BUSY, EAGAIN }, { ERROR_NO_DATA, EPIPE }, { ERROR_PIPE_NOT_CONNECTED, EPIPE }, + { ERROR_OPERATION_ABORTED, EINTR }, { ERROR_NOT_ENOUGH_QUOTA, ENOMEM }, { WSAENAMETOOLONG, ENAMETOOLONG }, { WSAENOTEMPTY, ENOTEMPTY }, -- cgit