From 14869595501ceb1bb82c8b006cc2e9d0acdec908 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 9 Apr 2007 09:29:45 +0000 Subject: * thread.c (do_select): use ubf_select() as UBF on windows. * win32/win32.c (do_select): shouldn't call catch_interrupt() here. fixed: [ruby-dev:30674], reported by wanabe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index 823ced33f1..3c8be568d9 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2110,9 +2110,6 @@ do_select(int nfds, fd_set *rd, fd_set *wr, fd_set *ex, rb_w32_sleep(INFINITE); } else { -#if !USE_INTERRUPT_WINSOCK - int trap_immediate = rb_trap_immediate; -#endif /* !USE_INTERRUPT_WINSOCK */ RUBY_CRITICAL( r = select(nfds, rd, wr, ex, timeout); if (r == SOCKET_ERROR) { @@ -2120,10 +2117,6 @@ do_select(int nfds, fd_set *rd, fd_set *wr, fd_set *ex, r = -1; } ); -#if !USE_INTERRUPT_WINSOCK - rb_trap_immediate = trap_immediate; - catch_interrupt(); -#endif /* !USE_INTERRUPT_WINSOCK */ } return r; -- cgit v1.2.3