static void cont_init(rb_context_t *cont, rb_thread_t *th) { /* save thread context */ cont_save_thread(cont, th); cont->saved_thread.local_storage = 0; }
static void cont_init(rb_context_t *cont, rb_thread_t *th) { /* save thread context */ cont_save_thread(cont, th); cont->saved_thread.self = th->self; cont->saved_thread.machine.stack_maxsize = th->machine.stack_maxsize; cont->saved_thread.fiber = th->fiber; cont->saved_thread.local_storage = 0; }
static void cont_init(rb_context_t *cont, rb_thread_t *th) { /* save thread context */ cont_save_thread(cont, th); cont->saved_thread.self = th->self; cont->saved_thread.machine.stack_maxsize = th->machine.stack_maxsize; cont->saved_thread.fiber = th->fiber; cont->saved_thread.local_storage = 0; cont->saved_thread.local_storage_recursive_hash = Qnil; cont->saved_thread.local_storage_recursive_hash_for_trace = Qnil; }