GET_THREAD 6913 compile.c const rb_thread_t *const th = GET_THREAD(); GET_THREAD 233 cont.c const rb_thread_t *const th = GET_THREAD(); GET_THREAD 462 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 475 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 532 cont.c rb_thread_t *th = GET_THREAD(), *sth = &cont->saved_thread; GET_THREAD 584 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 694 cont.c rb_thread_t *th = GET_THREAD(), *sth = &newfib->cont.saved_thread; GET_THREAD 1066 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1174 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1199 cont.c rb_thread_t *cth = GET_THREAD(); GET_THREAD 1257 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1316 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1332 cont.c rb_fiber_t *root_fiber = GET_THREAD()->root_fiber; GET_THREAD 1417 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1669 cont.c rb_thread_t *th = GET_THREAD(); GET_THREAD 389 error.c if (GET_THREAD()) { GET_THREAD 404 error.c if (GET_THREAD()) { GET_THREAD 1110 error.c rb_thread_t *th = GET_THREAD(); GET_THREAD 79 eval.c error_print(GET_THREAD()); GET_THREAD 103 eval.c SAVE_ROOT_JMPBUF(GET_THREAD(), iseq = ruby_process_options(argc, argv)); GET_THREAD 130 eval.c GET_THREAD()->errinfo = Qnil; GET_THREAD 163 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 224 eval.c rb_threadptr_unlock_all_locking_mutexes(GET_THREAD()); GET_THREAD 238 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 573 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 733 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 761 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 792 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 858 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 891 eval.c rb_thread_t *const th = GET_THREAD(); GET_THREAD 941 eval.c return frame_func_id(GET_THREAD()->cfp); GET_THREAD 947 eval.c return frame_called_id(GET_THREAD()->cfp); GET_THREAD 964 eval.c rb_control_frame_t *prev_cfp = previous_frame(GET_THREAD()); GET_THREAD 972 eval.c rb_control_frame_t *prev_cfp = previous_frame(GET_THREAD()); GET_THREAD 980 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1238 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1299 eval.c rb_control_frame_t *prev_cfp = previous_frame(GET_THREAD()); GET_THREAD 1418 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1439 eval.c rb_control_frame_t *prev_cfp = previous_frame(GET_THREAD()); GET_THREAD 1488 eval.c return get_thread_errinfo(GET_THREAD()); GET_THREAD 1505 eval.c VALUE *ptr = errinfo_place(GET_THREAD()); GET_THREAD 1519 eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1529 eval.c GET_THREAD()->errinfo = err; GET_THREAD 204 eval_error.c error_print(GET_THREAD()); GET_THREAD 270 eval_error.c rb_thread_t *th = GET_THREAD(); GET_THREAD 14 eval_intern.h #define PASS_PASSED_BLOCK() pass_passed_block(GET_THREAD()) GET_THREAD 91 eval_intern.h (rb_thread_raised_set(GET_THREAD(), RAISED_STACKOVERFLOW), \ GET_THREAD 136 eval_intern.h #define PUSH_TAG() TH_PUSH_TAG(GET_THREAD()) GET_THREAD 176 eval_intern.h #define JUMP_TAG(st) TH_JUMP_TAG(GET_THREAD(), (st)) GET_THREAD 64 eval_jump.c rb_thread_t *th = GET_THREAD(); GET_THREAD 118 eval_jump.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1761 gc.c gc_event_hook_body(GET_THREAD(), (objspace), (event), (data)); \ GET_THREAD 2320 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 3482 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 3914 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 3925 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4656 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 6098 gc.c VALUE ary_ary = GET_THREAD()->vm->mark_object_ary; GET_THREAD 7564 gc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 7576 gc.c GET_THREAD()->errinfo = nomem_error; GET_THREAD 612 iseq.c rb_thread_t *th = GET_THREAD(); GET_THREAD 645 load.c rb_thread_t *curr_th = GET_THREAD(); GET_THREAD 678 load.c if (!status) status = rb_load_internal0(GET_THREAD(), path, wrap); GET_THREAD 957 load.c rb_thread_t *th = GET_THREAD(); GET_THREAD 326 proc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 629 proc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 797 proc.c vret = rb_vm_invoke_proc(GET_THREAD(), proc, argc, argv, blockptr); GET_THREAD 835 proc.c vret = rb_vm_invoke_proc(GET_THREAD(), proc, check_argc(RARRAY_LEN(args)), RARRAY_CONST_PTR(args), 0); GET_THREAD 850 proc.c vret = rb_vm_invoke_proc(GET_THREAD(), proc, argc, argv, block); GET_THREAD 965 proc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1790 proc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1902 proc.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2008 proc.c rb_thread_t *const th = GET_THREAD(); GET_THREAD 478 process.c return GET_THREAD()->last_status; GET_THREAD 484 process.c rb_thread_t *th = GET_THREAD(); GET_THREAD 493 process.c GET_THREAD()->last_status = Qnil; GET_THREAD 909 process.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1205 process.c #define after_fork_ruby() (rb_threadptr_pending_interrupt_clear(GET_THREAD()), after_exec()) GET_THREAD 3794 process.c if (GET_THREAD()->tag) { GET_THREAD 3879 process.c if (!NIL_P(GET_THREAD()->errinfo)) { GET_THREAD 37 safe.c return GET_THREAD()->safe_level; GET_THREAD 43 safe.c GET_THREAD()->safe_level = safe; GET_THREAD 49 safe.c rb_thread_t *th = GET_THREAD(); GET_THREAD 69 safe.c rb_thread_t *th = GET_THREAD(); GET_THREAD 468 signal.c const rb_pid_t self = (GET_THREAD() == GET_VM()->main_thread) ? getpid() : -1; GET_THREAD 958 signal.c rb_thread_t *cur_th = GET_THREAD(); GET_THREAD 978 signal.c cur_th = GET_THREAD(); GET_THREAD 1494 signal.c rb_register_sigaltstack(GET_THREAD()); GET_THREAD 137 thread.c rb_thread_t *_th_stored = GET_THREAD(); \ GET_THREAD 156 thread.c rb_thread_t *__th = GET_THREAD(); \ GET_THREAD 469 thread.c rb_thread_t *th = GET_THREAD(); /* main thread */ GET_THREAD 685 thread.c rb_thread_t *th, *current_th = GET_THREAD(); GET_THREAD 872 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1143 thread.c sleep_forever(GET_THREAD(), 0, 1); GET_THREAD 1150 thread.c sleep_forever(GET_THREAD(), 1, 1); GET_THREAD 1180 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1194 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1228 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1243 thread.c rb_thread_t *cur_th = GET_THREAD(); GET_THREAD 1289 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1415 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1829 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1972 thread.c return rb_thread_pending_interrupt_p(argc, argv, GET_THREAD()->self); GET_THREAD 2166 thread.c rb_vm_t *vm = GET_THREAD()->vm; GET_THREAD 2203 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2245 thread.c if (th == GET_THREAD()) { GET_THREAD 2306 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2434 thread.c rb_vm_t *vm = GET_THREAD()->vm; GET_THREAD 2453 thread.c return GET_THREAD()->self; GET_THREAD 2474 thread.c return GET_THREAD()->vm->main_thread->self; GET_THREAD 2514 thread.c return GET_THREAD()->vm->thread_abort_on_exception ? Qtrue : Qfalse; GET_THREAD 2550 thread.c GET_THREAD()->vm->thread_abort_on_exception = RTEST(val); GET_THREAD 2625 thread.c return GET_THREAD()->vm->thread_report_on_exception ? Qtrue : Qfalse; GET_THREAD 2662 thread.c GET_THREAD()->vm->thread_report_on_exception = RTEST(val); GET_THREAD 3665 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 3836 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4095 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4114 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4191 thread.c rb_vm_t *vm = GET_THREAD()->vm; GET_THREAD 4380 thread.c if (m->th == GET_THREAD()) return Qnil; GET_THREAD 4444 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4737 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 4862 thread.c vm_living_thread_num(vm), vm->sleeper, GET_THREAD(), vm->main_thread); GET_THREAD 4900 thread.c if (patrol_thread && patrol_thread != GET_THREAD()) return; GET_THREAD 4933 thread.c VALUE coverage = rb_iseq_coverage(GET_THREAD()->cfp->iseq); GET_THREAD 4982 thread.c rb_thread_t *cur_th = GET_THREAD(); GET_THREAD 4995 thread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 189 thread_pthread.c gvl_acquire(vm, GET_THREAD()); GET_THREAD 454 thread_pthread.c rb_thread_t *th = GET_THREAD(); GET_THREAD 165 thread_sync.c rb_thread_t *th = GET_THREAD(); GET_THREAD 243 thread_sync.c rb_thread_t *th = GET_THREAD(); GET_THREAD 319 thread_sync.c rb_thread_t *th = GET_THREAD(); GET_THREAD 377 thread_sync.c err = rb_mutex_unlock_th(mutex, GET_THREAD()); GET_THREAD 423 thread_sync.c sleep_forever(GET_THREAD(), 1, 0); /* permit spurious check */ GET_THREAD 431 thread_sync.c sleep_timeval(GET_THREAD(), *t, 0); /* permit spurious check */ GET_THREAD 145 thread_win32.c rb_thread_t *th = GET_THREAD(); GET_THREAD 157 thread_win32.c th, GET_THREAD()->thread_id, GET_THREAD 758 thread_win32.c rb_thread_raised_set(GET_THREAD(), RAISED_STACKOVERFLOW); GET_THREAD 770 thread_win32.c rb_thread_t *th = GET_THREAD(); GET_THREAD 170 vm.c return vm_cref_new_toplevel(GET_THREAD()); GET_THREAD 246 vm.c if (!th) th = GET_THREAD(); GET_THREAD 436 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 872 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1109 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1116 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1149 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1163 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1177 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1191 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1215 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1228 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1237 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1262 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1318 vm.c val = GET_THREAD()->tag->retval; GET_THREAD 1375 vm.c vm_iter_break(GET_THREAD(), Qnil); GET_THREAD 1381 vm.c vm_iter_break(GET_THREAD(), val); GET_THREAD 1882 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1892 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1924 vm.c return rb_thread_method_id_and_class(GET_THREAD(), idp, klassp); GET_THREAD 1955 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2269 vm.c if (GET_THREAD() != th && th->machine.stack_start && th->machine.stack_end) { GET_THREAD 2415 vm.c rb_vm_t *vm = GET_THREAD()->vm; GET_THREAD 2465 vm.c rb_thread_t *th__ = GET_THREAD(); \ GET_THREAD 2477 vm.c vm_define_method(GET_THREAD(), Qnil, SYM2ID(sym), iseqval, FALSE); GET_THREAD 2486 vm.c vm_define_method(GET_THREAD(), cbase, SYM2ID(sym), iseqval, TRUE); GET_THREAD 2919 vm.c rb_thread_t *th = GET_THREAD(); GET_THREAD 3144 vm.c valstr = rb_insn_operand_intern(GET_THREAD()->cfp->iseq, insn, n, op, 0, 0, 0, 0); GET_THREAD 3257 vm.c valstr = rb_insn_operand_intern(GET_THREAD()->cfp->iseq, insn, n, op, 0, 0, 0, 0); GET_THREAD 409 vm_args.c if (missing) argument_kw_error(GET_THREAD(), iseq, "missing", missing); GET_THREAD 450 vm_args.c argument_kw_error(GET_THREAD(), iseq, "unknown", keys); GET_THREAD 335 vm_backtrace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 533 vm_backtrace.c return backtrace_object(GET_THREAD()); GET_THREAD 684 vm_backtrace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 736 vm_backtrace.c backtrace_each(GET_THREAD(), GET_THREAD 769 vm_backtrace.c backtrace_each(GET_THREAD(), GET_THREAD 804 vm_backtrace.c backtrace_each(GET_THREAD(), GET_THREAD 814 vm_backtrace.c return rb_vm_backtrace_str_ary(GET_THREAD(), 0, 0); GET_THREAD 953 vm_backtrace.c return vm_backtrace_to_ary(GET_THREAD(), argc, argv, 1, 1, 1); GET_THREAD 981 vm_backtrace.c return vm_backtrace_to_ary(GET_THREAD(), argc, argv, 1, 1, 0); GET_THREAD 1175 vm_backtrace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1249 vm_backtrace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1001 vm_core.h #define SDR() rb_vmdebug_stack_dump_raw(GET_THREAD(), GET_THREAD()->cfp) GET_THREAD 1002 vm_core.h #define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_THREAD(), (cfp)) GET_THREAD 183 vm_dump.c rb_thread_t *th = GET_THREAD(); GET_THREAD 292 vm_eval.c return vm_call_super(GET_THREAD(), argc, argv); GET_THREAD 298 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 337 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 450 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 471 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 629 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 672 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 749 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 886 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 915 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1019 vm_eval.c return vm_yield(GET_THREAD(), argc, argv); GET_THREAD 1089 vm_eval.c return vm_yield_with_block(GET_THREAD(), argc, argv, blockptr); GET_THREAD 1214 vm_eval.c GET_THREAD()); GET_THREAD 1298 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1526 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1555 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1593 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1615 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1634 vm_eval.c rb_cref_t *cref = vm_cref_push(GET_THREAD(), under, NULL, SPECIAL_CONST_P(self) && !NIL_P(under)); GET_THREAD 1893 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2005 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2015 vm_eval.c return vm_catch_protect(t, func, data, stateptr, GET_THREAD()); GET_THREAD 2101 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2158 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2173 vm_eval.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1230 vm_insnhelper.c return vm_call0(GET_THREAD(), pattern, idEqq, 1, &target, me); GET_THREAD 1291 vm_insnhelper.c (long)(cfp->bp_check - GET_THREAD()->stack), GET_THREAD 1292 vm_insnhelper.c (long)(bp - GET_THREAD()->stack)); GET_THREAD 2479 vm_insnhelper.c rb_thread_t *th = GET_THREAD(); GET_THREAD 252 vm_method.c method_cref = vm_cref_new_toplevel(GET_THREAD()); /* TODO: can we reuse? */ GET_THREAD 267 vm_method.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1084 vm_method.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1098 vm_method.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1965 vm_method.c rb_thread_t *th = GET_THREAD(); GET_THREAD 2004 vm_method.c rb_thread_t *th = GET_THREAD(); GET_THREAD 392 vm_trace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 616 vm_trace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 724 vm_trace.c rb_trace_arg_t *trace_arg = GET_THREAD()->trace_arg; GET_THREAD 1311 vm_trace.c rb_trace_arg_t *trace_arg = GET_THREAD()->trace_arg; GET_THREAD 1550 vm_trace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1566 vm_trace.c rb_thread_t *th = GET_THREAD(); GET_THREAD 1591 vm_trace.c rb_thread_t *th = GET_THREAD();