diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 02:00:19 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 02:00:19 +0000 |
commit | b1a18cf49bc475e6c563f55b23fa36594d70f4bc (patch) | |
tree | 0dc0c659cd7a5cfd335118f1c263978277fa6d35 /NEWS | |
parent | 8079f8a6f25bd1e6ef9fa0bff569a850c31c6fb3 (diff) | |
download | ruby-b1a18cf49bc475e6c563f55b23fa36594d70f4bc.tar.gz |
* thread.c (thread_join): raises ThreadError if target therad
is a main thread.
* test/ruby/test_thread.rb (test_thread_join_main_thread):
test for the above.
* NEWS: news for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ with all sufficient information, see the ChangeLog file. * incompatible changes: * Thread#join no longer allows to be used from trap handler. Now it raises ThreadError. - * Thread#join raises ThreadError if target therad is a current thread. + * Thread#join raises ThreadError if target therad is a current or main thread. * Time * change return value: |