function stack_extend

[edit]
static void stack_extend(rb_thread_t th, int exit)