summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-12-23 05:23:53 +0900
committerKoichi Sasada <ko1@atdot.net>2023-12-23 05:56:02 +0900
commita4b737213eb1d8f352f1f148c27e96a3f09f5d08 (patch)
tree0d09da7bdedf7e22186039b07427a92fe362623a /spec/ruby/core/array
parentc974ee1abe5df5a4bb97264e608afbd134c77652 (diff)
MN: ceil timeout milli seconds
`hrrel / RB_HRTIME_PER_MSEC` floor the timeout value and it can return wrong value by `Mutex#sleep` (return Integer even if it should return nil (timeout'ed)). This patch ceil the value and the issue was solved.
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions