mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b2d3f81ee
commit
4098e5861e
9 changed files with 57 additions and 33 deletions
|
@ -177,7 +177,7 @@ proc_wait()
|
|||
while (1) {
|
||||
TRAP_BEG;
|
||||
pid = wait(&state);
|
||||
TRA_END;
|
||||
TRAP_END;
|
||||
if (pid >= 0) break;
|
||||
if (errno == EINTR) {
|
||||
rb_thread_schedule();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue