* 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
Родитель 45b0d65900
Коммит b3e38e1819
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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