diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-05 15:04:09 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-05 15:04:09 +0000 |
commit | a400c94d7272d29f09b16c059bb9ca3b34bd398f (patch) | |
tree | 2e94adfda841ea59182616b0dd9b83ab667bf155 /NEWS | |
parent | 4a572d5bb46451f171c30e09f88a2dcf67478006 (diff) | |
download | ruby-a400c94d7272d29f09b16c059bb9ca3b34bd398f.tar.gz |
* lib/timeout.rb (Timeout#timeout): set
async_interrupt_timeing(:on_blocking) by default.
[Bug #7503] [ruby-core:50524]
* test/test_timeout.rb (#test_timeout_blocking): test for the above.
* test/test_timeout.rb (test_timeout_immediate): ditto
* test/test_timeout.rb (test_timeout_immediate2): ditto.
* NEWS: news for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -332,6 +332,13 @@ with all sufficient information, see the ChangeLog file. are introduced for easy detection of available constants on a running system. +* timeout + * Timeout.timeout supports immediate optional keyword parameter. + * incompatible changes: + * Timeout.timeout now use async_interrupt_timing(:on_blocking) by default. + And then, timeout is only happen on blocking point (e.g. sleep, read, + write, Mutex#lock and so on). + * tmpdir * incompatible changes: * Dir.mktmpdir uses FileUtils.remove_entry instead of |