From: Aaron Patterson <tenderlove@...>
Date: 2012-10-27T02:36:24+09:00
Subject: [ruby-core:48313] Re: [ruby-trunk - Bug #7097] Thread locals don't work inside Enumerator

On Fri, Oct 26, 2012 at 04:41:09PM +0900, SASADA Koichi wrote:
> (2012/10/26 15:41), Aaron Patterson wrote:
> >> I recommend that Thread#[] should be reference to
> >> > Thread#thread_variable_get, and so on.
> > The documentation I added for Thread#thread_variable_get does reference
> > Thread#[], and each method makes it clear that it's for thread locals
> > (not fiber locals).
> > 
> 
> I wrote wrong sentence. I wanted to write:
> 
>   The rdoc of Thread#[] (and Thread#[]=) should refer
>   Thread#thread_variable_get(set).

Sounds good!  I'll update the patch.

-- 
Aaron Patterson
http://tenderlovemaking.com/