aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-26 15:17:01 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-26 15:17:01 +0000
commit5b238e8dc7fd55622c4e0a382b9783648ba412f5 (patch)
treecb62cd650a66ab8a95bdfb15881ba11209a30b41 /NEWS
parent23d5c282b4df78b5f6b8684c0d9f5aece7dd3f70 (diff)
downloadruby-5b238e8dc7fd55622c4e0a382b9783648ba412f5.tar.gz
* thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep):
raises ThreadError if called from trap handler as Thread#join. * NEWS: news fot the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 61ab041883..ac7adc3761 100644
--- a/NEWS
+++ b/NEWS
@@ -105,6 +105,12 @@ with all sufficient information, see the ChangeLog file.
* Module#const_get accepts a qualified constant string, e.g.
Object.const_get("Foo::Bar::Baz")
+ * Mutex
+ * incompatible changes:
+ * Mutex#lock, Mutex#unlock, Mutex#try_lock, Mutex#synchronize
+ and Mutex#sleep no longer allows to be used from trap handler.
+ Now it raises ThreadError.
+
* NilClass
* added method:
* added nil.to_h which returns {}
@@ -350,3 +356,7 @@ with all sufficient information, see the ChangeLog file.
* Thread#join
See above.
+
+ * Mutex#lock, Mutex#unlock, Mutex#try_lock, Mutex#synchronize and Mutex#sleep
+
+ See above.