Project

General

Profile

Bug #12290 » issue12290_segthread_thread_name.diff

herwinw (Herwin Quarantainenet), 04/15/2016 11:50 AM

View differences:

thread.c
}
th->name = name;
#if defined(SET_ANOTHER_THREAD_NAME)
if (!th->thread_id) {
rb_raise(rb_eThreadError, "Unable to change name here");
}
SET_ANOTHER_THREAD_NAME(th->thread_id, s);
#endif
return name;
(2-2/2)