summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-28 04:09:38 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-28 04:09:38 +0000
commit694c77633c80a106a1e526870ad5076bfac30640 (patch)
treee7b83a4ee3845c914b205e65e6165fac5d849f97 /NEWS
parent4ed6a88b74be65894b580dba81e7b8e3e8b0c3ce (diff)
* thread.c (thread_join): A trap handler check was moved from
thread_join_m because Thread#value should be raised an exception too. * thread.c (thread_join_m): remove trap handler check. * test/ruby/test_thread.rb (test_thread_join_in_trap): add test for thread#value. * NEWS: documentation fix for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 2448264ad9..f0c38d48eb 100644
--- a/NEWS
+++ b/NEWS
@@ -164,10 +164,10 @@ with all sufficient information, see the ChangeLog file.
* added Thread#backtrace_locations which returns similar information of
Kernel#caller_locations.
* incompatible changes:
- * Thread#join is no longer allowed to be used from trap handler and
- raises a ThreadError in such case.
- * Thread#join now raises a ThreadError if target thread is the current
- or main thread.
+ * Thread#join and Thread#value is no longer allowed to be used from trap
+ handler and raises a ThreadError in such case.
+ * Thread#join and Thread#value now raises a ThreadError if target thread
+ is the current or main thread.
* Time
* change return value:
@@ -376,7 +376,7 @@ with all sufficient information, see the ChangeLog file.
* OpenStruct new methods can conflict with custom attributes named
"each_pair", "eql?", "hash" or "to_h".
- * Thread#join
+ * Thread#join, Thread#value
See above.