kosaki f150ed1532 * vm_core.h (rb_thread_struct): added 'in_trap' member for marking
running trap handler.
* signal.c (signal_exec): turn on in_trap when running trap.
* thread.c (Init_Thread, thread_create_core): initialize in_trap
  when creating new threads.
* thread.c (thread_join_m): raise ThreadError when running trap
  handler.Bug [#6416][ruby-core:44956]
* test/ruby/test_thread.rb (test_thread_join_in_trap): new test
  for the above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-26 08:05:49 +00:00
..
2012-09-29 11:19:02 +00:00
2012-11-09 14:33:11 +00:00
2012-08-27 11:57:43 +00:00
2012-11-21 13:40:00 +00:00
2012-09-03 05:49:06 +00:00
2012-09-05 23:24:58 +00:00
2012-10-06 00:48:28 +00:00
2012-11-16 06:41:05 +00:00
2012-10-29 09:23:02 +00:00
2012-09-04 12:45:31 +00:00
2012-11-24 12:26:54 +00:00