- thread.c (rb_thread_schedule_rec): move interrupt_flag check to rb_thread_schedule(). And also rename to rb_thead_schedule_limits() and remove sched_depth argument. It's no longer called recursive.
thread.c (rb_thread_schedule): add to check interrupt_flag as
thread.c (rb_threadptr_execute_interrupts_rec): rename to
rb_threadptr_execute_interrupts_common() and remove sched_depth
argument. It's no longer called recursive.
thread.c (rb_thread_sleep): adapt the renaming.
thread.c (rb_threadptr_execute_interrupts): ditto.
thread.c (rb_thread_execute_interrupts): ditto.