[Bug #2310] should ensure GVL_UNLOCK_END in rb_thread_blocking_region

Bug #2310: should ensure GVL_UNLOCK_END in rb_thread_blocking_region
http://redmine.ruby-lang.org/issues/show/2310

e$B5/I<<Te(B: _ wanabe
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.x
ruby -v: ruby 1.9.2dev (2009-10-29 trunk 25559) [i386-mingw32]

rb_thread_blocking_region
e$B$+$i8F$S=P$5$l$?4X?tCf$GNc30Ey$NBg0hC&=P$,5/$-$k$He(B
GVL_UNLOCK_END e$BEy$N8e=hM}$,8F$P$l$^$;$s!#e(B
e$BNc$($P!"e(BWindowsXP e$B$N$h$&$Je(B WSASendMsg
e$B$,$J$$4D6-$G$O0J2<$N$h$&$K$9$k$H8G$^$j$^$9!#e(B

$ ruby -rsocket -ve ‘begin UDPSocket.new.sendmsg “hoge”;rescue
Exception;p $!;end’;echo $?
ruby 1.9.2dev (2009-10-29 trunk 25559) [i386-mingw32]
#<NotImplementedError: sendmsg() function is unimplemented on this
machine>
5 # <== CTRL+c e$B$rF~NO$9$k$^$GI=<($5$l$J$$e(B

Nobuyoshi N. wrote::

This issue was solved with changeset r25566.

e$B!!$3$NJQ99$O<u$1F~$l$i$l$^$;$s!%$=$b$=$b!$e(BGVL
e$B$r;}$C$F$$$J$$>uBV$GNc30$re(B
e$BH/@8$5$;$F$O$$$1$^$;$s!%e(B

e$B!!$H$$$&$+!$$3$NJU$O7k9=Bg$-$JJQ99$J$N$G!$0l8@AjCL$7$F2<$5$$!%e(B

e$B%A%1%C%He(B #2310 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r25566.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/2310

e$B$J$+$@$G$9!#e(B

At Fri, 30 Oct 2009 12:54:03 +0900,
SASADA Koichi wrote in [ruby-dev:39582]:

e$B!!$3$NJQ99$O<u$1F~$l$i$l$^$;$s!%$=$b$=$b!$e(BGVL e$B$r;}$C$F$$$J$$>uBV$GNc30$re(B
e$BH/@8$5$;$F$O$$$1$^$;$s!%e(B

e$B$$$o$l$F$_$l$P3N$+$K!#%3%a%s%H$KDI2C$7$F$*$-$^$7$?!#e(B