=1B$B$`$i$?$G$9!#=1B(B

On 2010/11/09, at 12:23, Kenta Murata wrote:

> =1B$B%U%!%$%P$NFbB&$H30B&$OF10l%9%l%C%I$KF~$C$F$$$^$9$,!"=1B(B
> =1B$B0J2<$N%3!<%I$K$h$C$F%9%l%C%I8GM-%G!<%?$,J,N%$5$l$F$$$k;v$,=1B(B
> =1B$B3NG'$5$l$^$7$?!#=1B(B
>=20
>=20
> Thread.current[:abc] =3D 1
>=20
> fb =3D Fiber.new do
>  th =3D Thread.current
>  p [th, th[:abc]]
>  th[:abc] =3D 2
> end
>=20
> th =3D Thread.current
> p [th, th[:abc]]    #=3D> [#<Thread:0x00000100887560 run>, 1]
> fb.resume           #=3D> [#<Thread:0x00000100887560 run>, nil]
> p [th, th[:abc]]    #=3D> [#<Thread:0x00000100887560 run>, 1]
>=20
>=20
> =1B$B$3$NF0:n$O;EMM$G7h$a$i$l$?$b$N$G$7$g$&$+!)=1B(B
> =1B$B$=3D$l$H$b!"$?$^$?$^$3$N$h$&$K<BAu$5$l$F$k$@$1$J$N$G$7$g$&$+!)=1B(B=



ruby -v =1B$B$r=3Dq$-K:$l$^$7$?!#$A$g$C$H8E$$$s$G$9$,=1B(B
ruby 1.9.3dev (2010-10-12 trunk 29444) [x86_64-darwin10.4.0]
=1B$B$3$l$G3NG'$7$F$^$9!#=1B(B

--
Kenta Murata
OpenPGP FP =3D 1D69 ADDE 081C 9CC2 2E54  98C1 CEFE 8AFB 6081 B062

=1B$BK\$r=3Dq$-$^$7$?=1B(B!!
=1B$B!X=1B(BRuby =1B$B5U0z$-%l%7%T!Y=1B(B =
http://www.amazon.co.jp/dp/4798119881/mrkn-22

E-mail: mrkn / mrkn.jp
twitter: http://twitter.com/mrkn/
blog: http://d.hatena.ne.jp/mrkn/