1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (do_select): ubf_select() is not necessary. interrupt is

checked in the loop.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-04-09 09:49:40 +00:00
parent 45b0d65900
commit b3e38e1819
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Apr 9 18:48:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* thread.c (do_select): ubf_select() is not necessary. interrupt is
checked in the loop.
Mon Apr 9 18:27:26 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* thread.c (do_select): use ubf_select() as UBF on windows.

View file

@ -1720,7 +1720,7 @@ do_select(int n, fd_set *read, fd_set *write, fd_set *except,
if (except) *except = orig_except;
wait = &wait_100ms;
} while (__th->interrupt_flag == 0 && (timeout == 0 || subst(timeout, &wait_100ms)));
}, ubf_select);
}, 0);
} while (result == 0 && (timeout == 0 || subst(timeout, &wait_100ms)));
}
#else