diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-05 12:48:23 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-05 12:48:23 +0000 |
commit | 4010bc1e84e4ddc563926072686c2fcb894f0e0a (patch) | |
tree | e29915dc7b44d4bfbd36cc6fb822a0ff5ad5b618 /eval.c | |
parent | 64097bd7332f55d7b7af941388cf55076449439a (diff) | |
download | ruby-4010bc1e84e4ddc563926072686c2fcb894f0e0a.tar.gz |
* thread_pthread.c (thread_timer): add to care a spurious wakeup.
When native_cond_timedwait() return 0 by spurious wakeup, we
don't have to neither 1) call timer_thread_function and 2)
exit the timer thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions