ko1 a3071ea4e3 remove rb_thread_t::event_hooks.
* vm_core.h (rb_thread_t): remove rb_thread_t::event_hooks.

* vm_trace.c: all hooks are connected to vm->event_hooks and
  add rb_event_hook_t::filter::th to filter invoke thread.
  It will simplify invoking hooks code.

* thread.c (thread_start_func_2): clear thread specific trace_func.

* test/ruby/test_settracefunc.rb: add a test for Thread#add_trace_func.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-15 13:21:24 +00:00
..
2017-10-22 11:27:06 +00:00
2017-10-21 14:22:04 +00:00
2017-10-21 14:35:19 +00:00
2017-09-28 02:51:41 +00:00
2017-11-13 01:58:18 +00:00
2017-10-23 14:05:07 +00:00
2017-10-23 14:05:07 +00:00
2017-10-23 14:05:07 +00:00
2017-10-22 11:27:06 +00:00
2017-10-19 05:10:38 +00:00
2017-11-15 13:21:24 +00:00
2017-10-21 12:34:13 +00:00
2017-10-23 07:06:12 +00:00
2017-10-21 13:34:19 +00:00
2017-10-22 12:25:34 +00:00