diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 18:17:14 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 18:17:14 +0000 |
commit | 7ac6b706b418db4311ce64219c6156ec628453de (patch) | |
tree | b0299301082ef6b877190e8b46c6caf74137be00 /benchmark/bm_io_file_write.rb | |
parent | 2d7a5f6553a14431741f1469d76b774e4d6ac4c3 (diff) |
sleep_cond use monotonic time if possible.
* thread_pthread.c (native_thread_init): change sleep_cond
attribute to monotonic.
* thread_pthread.c (native_sleep): use native_cond_timeout().
* thread_pthread.c (native_cond_timeout): add overflow care.
* thread_win32.c (native_cond_timeout): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_io_file_write.rb')
0 files changed, 0 insertions, 0 deletions