Project

General

Profile

Feature #4347 » continuation_tracing.patch

quix (James M. Lawrence), 01/31/2011 05:32 AM

View differences:

thread.c
rb_remove_event_hook(call_trace_func);
if (NIL_P(trace)) {
GET_THREAD()->tracing = EVENT_RUNNING_NOTHING;
return Qnil;
}
......
rb_threadptr_remove_event_hook(th, call_trace_func);
if (NIL_P(trace)) {
th->tracing = EVENT_RUNNING_NOTHING;
return Qnil;
}
thread_add_trace_func(th, trace);
(2-2/3)