diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 06:39:01 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 06:39:01 +0000 |
commit | 5d0c4376c9ea925b814ab4082bb02dd7d93cc6ef (patch) | |
tree | 189f27fbe919929848ea82df12b756d72ddece79 /test/thread/test_queue.rb | |
parent | 6fe000eb036831acb1d9f66ca2e73e18d11a8459 (diff) | |
download | ruby-5d0c4376c9ea925b814ab4082bb02dd7d93cc6ef.tar.gz |
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: define new function
rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
using sleep_forever() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/thread/test_queue.rb')
0 files changed, 0 insertions, 0 deletions