1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (rb_thread_aref):

Grammar in Thread documentation.
  Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2012-10-06 19:51:40 +00:00
parent 5683d8b48e
commit 61d460e5e1
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Sun Oct 7 04:50:00 2012 Zachary Scott <zzak@ruby-lang.org>
* thread.c (rb_thread_aref):
Grammar in Thread documentation.
Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099]
Sun Oct 7 04:37:00 2012 Zachary Scott <zzak@ruby-lang.org>
* string.c (rb_str_match):

View file

@ -2486,8 +2486,8 @@ rb_thread_local_aref(VALUE thread, ID id)
* #<Thread:0x00000002a54130 dead>: C
*
* Thread#[] and Thread#[]= are not thread-local but fiber-local.
* This confusion was not exist until Ruby 1.8 because
* fiber is available since Ruby 1.9.
* This confusion did not exist in Ruby 1.8 because
* fibers were only available since Ruby 1.9.
* Ruby 1.9 chooses that the methods behaves fiber-local to save
* following idiom for dynamic scope.
*