diff options
| author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-14 18:08:40 +0000 |
|---|---|---|
| committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-14 18:08:40 +0000 |
| commit | a24f2d99155e20833f26d9bbc1d97bb0ae31a9c4 (patch) | |
| tree | b5ab0e4494c2d606028660afd717f170a6fc2dff /include/ruby/thread.h | |
| parent | 2d2cac4b05e6bc24e1d1a40b9d1a972732fe4fc9 (diff) | |
* file.c (rb_file_flock): use rb_thread_wait_for() instead of
rb_thread_polling(). When getting EAGAIN, we need to wait a
while even if no multi threading.
* thread.c (sleep_for_polling, rb_thread_polling) removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/thread.h')
0 files changed, 0 insertions, 0 deletions
