diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-17 04:38:19 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-17 04:38:19 +0000 |
commit | 133ff3421a9867ec49a23df97aba3db63fc78755 (patch) | |
tree | 881e313831cafec35bfc80a3b2f15f1b98426853 /file.c | |
parent | 1fc61ca55fd736dbe63c37abde8239601ce3b2aa (diff) |
2000-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1468,9 +1468,9 @@ rb_thread_flock(fd, op, fptr) op |= LOCK_NB; while (flock(fd, op) < 0) { switch (errno) { - case EINTR: /* can be happen? */ + case EINTR: /* can be happen? */ case EWOULDBLOCK: - rb_thread_schedule(); /* busy wait */ + rb_thread_polling(); /* busy wait */ rb_io_check_closed(fptr); break; default: |