зеркало из https://github.com/github/ruby.git
* 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:
Родитель
45b0d65900
Коммит
b3e38e1819
|
@ -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.
|
||||
|
|
2
thread.c
2
thread.c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче