e$B1sF#$G$9!#e(B
Mutex#synchronize e$B$N%V%m%C%/$NCf$J$I$GNc30$,Ej$2$i$l$k$H!"e(B
e$B%9%?%C%/%H%l!<%9$Ke(B prelude.rb e$B$,=P$F$-$^$9!#e(B
$ ruby19 -e ‘Mutex.new.synchronize { raise }’
-e:1:in block in <main>': unhandled exception from prelude.rb:8:in
synchronize’
from -e:1:in `’
e$BAH$9~$$Ne(B prelude.rb
e$B$rCN$i$J$$0lHL%f!<%6$O:.Mp$9$k$H;W$$$^$9!#e(B
e$B$J$I!“L@$i$+$KIaDL$N%U%!%$%k$G$O$J$$$H$o$+$kL>A0$Ke(B
e$B$7$?J}$,$$$$$H;W$&$N$G$9$,!”$I$&$G$7$g$&$+!#e(B
Index: tool/compile_prelude.rb
— tool/compile_prelude.rb (revision 19089)
+++ tool/compile_prelude.rb (working copy)
@@ -78,7 +78,7 @@
% lines_list.each_with_index {|(setup_lines, lines), i|
rb_iseq_eval(rb_iseq_compile(
rb_str_new(prelude_code<%=i%>, sizeof(prelude_code<%=i%>) - 1),
- rb_str_new(prelude_name<%=i%>, sizeof(prelude_name<%=i%>) - 1),
- rb_str_new2(""),
INT2FIX(<%=1-setup_lines.length%>)));
% }