summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-17 08:26:12 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-17 08:26:12 +0000
commit78cc1491d5dd106af94edd91b3ca4698423daaf7 (patch)
treeb47fbe75d07c70ae566f7f3987de9a1637f2bb20 /test/ruby
parent1389cdaba1d2bcb8ce9f30f9d3128767b8032090 (diff)
thread.c: hoist out timeval arithmetic functions
timeval arithmetic may be reused in other places and this makes sleep_timeval easier-to-read. * thread.c (timeval_add): hoist out of sleep_timeval (timeval_update_expire): ditto (sleep_timeval): use new functions git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions