thread 170 ext/threads/threads.c if (pthread_create(&vm->thread, &thattr, thread_entry, vm) != 0) { thread 283 ext/threads/threads.c pthread_cancel(target->thread); thread 344 ext/threads/thrlib.c ScmObj thread; thread 363 ext/threads/thrlib.c thread = (thread_scm); thread 366 ext/threads/thrlib.c if (SCM_VMP(thread)) owner = SCM_VM(thread); thread 367 ext/threads/thrlib.c else if (SCM_UNBOUNDP(thread)) owner = Scm_VM(); thread 368 ext/threads/thrlib.c else if (!SCM_FALSEP(thread)) Scm_Error("thread or #f required, but got %S", thread); thread 625 ext/threads/thrlib.c e->thread = NULL; thread 634 ext/threads/thrlib.c Scm_Printf(port, "#<%A %S>", Scm__InternalClassName(k), SCM_OBJ_SAFE(exc->thread)); thread 636 ext/threads/thrlib.c Scm_Printf(port, "#<%A %S %S>", Scm__InternalClassName(k), SCM_OBJ_SAFE(exc->thread), exc->data); thread 642 ext/threads/thrlib.c Scm_Printf(port, "#<uncaught-exception in thread %S: %S>", SCM_OBJ_SAFE(exc->thread), exc->data); thread 647 ext/threads/thrlib.c Scm_Printf(port, "#<terminated-thread-exception: %S terminated by %S>", SCM_OBJ_SAFE(exc->thread), exc->data); thread 665 ext/threads/thrlib.c return SCM_OBJ_SAFE(obj->thread); thread 672 ext/threads/thrlib.c obj->thread = SCM_VM(value); thread 486 gc/aix_irix_threads.c int GC_pthread_join(pthread_t thread, void **retval) thread 492 gc/aix_irix_threads.c thread_gc_id = GC_lookup_thread(thread); thread 497 gc/aix_irix_threads.c result = pthread_join(thread, retval); thread 504 gc/aix_irix_threads.c GC_delete_gc_thread(thread, thread_gc_id); thread 162 gc/darwin_stop_world.c thread_act_t thread = act_list[i]; thread 163 gc/darwin_stop_world.c if (thread == me) { thread 174 gc/darwin_stop_world.c r = thread_get_state(thread, MACHINE_THREAD_STATE, thread 217 gc/darwin_stop_world.c r = thread_get_state(thread, MACHINE_THREAD_STATE, thread 243 gc/darwin_stop_world.c (unsigned long) thread, thread 263 gc/darwin_stop_world.c GC_mach_threads[i].thread = 0; thread 278 gc/darwin_stop_world.c thread_act_t thread = act_list[i]; thread 280 gc/darwin_stop_world.c GC_printf1("Attempting to suspend thread %p\n", thread); thread 286 gc/darwin_stop_world.c if (old_thread == thread) { thread 293 gc/darwin_stop_world.c GC_mach_threads[GC_mach_threads_count].thread = thread; thread 299 gc/darwin_stop_world.c if (thread != my_thread && thread 302 gc/darwin_stop_world.c && GC_mach_handler_thread != thread))) { thread 305 gc/darwin_stop_world.c kern_return_t kern_result = thread_info(thread, THREAD_BASIC_INFO, thread 318 gc/darwin_stop_world.c GC_printf2("Thread state for 0x%lx = %d\n", thread, info.run_state); thread 326 gc/darwin_stop_world.c GC_printf1("Suspending 0x%lx\n", thread); thread 329 gc/darwin_stop_world.c kern_result = thread_suspend(thread); thread 437 gc/darwin_stop_world.c thread_act_t thread = act_list[i]; thread 438 gc/darwin_stop_world.c if (thread != my_thread && thread 440 gc/darwin_stop_world.c (GC_use_mach_handler_thread && GC_mach_handler_thread != thread))) { thread 442 gc/darwin_stop_world.c if (thread == GC_mach_threads[j].thread) { thread 445 gc/darwin_stop_world.c GC_printf1("Not resuming already suspended thread %p\n", thread); thread 449 gc/darwin_stop_world.c kern_result = thread_info(thread, THREAD_BASIC_INFO, thread 453 gc/darwin_stop_world.c GC_printf2("Thread state for 0x%lx = %d\n", thread, thread 455 gc/darwin_stop_world.c GC_printf1("Resuming 0x%lx\n", thread); thread 458 gc/darwin_stop_world.c kern_result = thread_resume(thread); thread 469 gc/darwin_stop_world.c void GC_darwin_register_mach_handler_thread(mach_port_t thread) { thread 470 gc/darwin_stop_world.c GC_mach_handler_thread = thread; thread 58 gc/include/gc_pthread_redirects.h int GC_pthread_join(pthread_t thread, void **retval); thread 59 gc/include/gc_pthread_redirects.h int GC_pthread_detach(pthread_t thread); thread 16 gc/include/private/darwin_stop_world.h thread_act_t thread; thread 20 gc/include/private/darwin_stop_world.h void GC_darwin_register_mach_handler_thread(mach_port_t thread); thread 40 gc/include/private/specific.h pthread_t thread; thread 89 gc/include/private/specific.h GC_ASSERT(entry -> thread == pthread_self()); thread 3637 gc/os_dep.c pthread_t thread; thread 3699 gc/os_dep.c if(pthread_create(&thread,&attr,GC_mprotect_thread,NULL) != 0) thread 3725 gc/os_dep.c mach_port_t thread, thread 3750 gc/os_dep.c r = thread_get_state(thread,flavor,thread_state,&thread_state_count); thread 3757 gc/os_dep.c r = exception_raise(port,thread,task,exception,data,data_count); thread 3760 gc/os_dep.c r = exception_raise_state(port,thread,task,exception,data, thread 3765 gc/os_dep.c r = exception_raise_state_identity(port,thread,task,exception,data, thread 3776 gc/os_dep.c r = thread_set_state(thread,flavor,thread_state,thread_state_count); thread 3784 gc/os_dep.c #define FWD() GC_forward_exception(thread,task,exception,code,code_count) thread 3790 gc/os_dep.c mach_port_t exception_port,mach_port_t thread,mach_port_t task, thread 3824 gc/os_dep.c r = thread_get_state(thread,flavor, thread 3911 gc/os_dep.c mach_port_name_t exception_port, mach_port_t thread, mach_port_t task, thread 1064 gc/pthread_support.c int WRAP_FUNC(pthread_join)(pthread_t thread, void **retval) thread 1070 gc/pthread_support.c thread_gc_id = GC_lookup_thread(thread); thread 1074 gc/pthread_support.c result = REAL_FUNC(pthread_join)(thread, retval); thread 1089 gc/pthread_support.c GC_delete_gc_thread(thread, thread_gc_id); thread 1096 gc/pthread_support.c WRAP_FUNC(pthread_detach)(pthread_t thread) thread 1102 gc/pthread_support.c thread_gc_id = GC_lookup_thread(thread); thread 1104 gc/pthread_support.c result = REAL_FUNC(pthread_detach)(thread); thread 1110 gc/pthread_support.c GC_delete_gc_thread(thread, thread_gc_id); thread 55 gc/specific.c entry -> thread = self; thread 75 gc/specific.c while (entry != NULL && entry -> thread != self) { thread 112 gc/specific.c while (entry != NULL && entry -> thread != self) { thread 338 gc/win32_threads.c GC_thread thread; thread 342 gc/win32_threads.c thread = thread_table + i; thread 343 gc/win32_threads.c if (thread -> in_use && thread -> stack_base) { thread 344 gc/win32_threads.c if (thread -> id == thread_id) { thread 392 gc/win32_threads.c stack_min = GC_get_stack_min(thread->stack_base); thread 394 gc/win32_threads.c if (sp >= stack_min && sp < thread->stack_base) thread 395 gc/win32_threads.c GC_push_all_stack(sp, thread->stack_base); thread 399 gc/win32_threads.c GC_push_all_stack(stack_min, thread->stack_base); thread 726 gc/win32_threads.c int GC_pthread_detach(pthread_t thread) thread 732 gc/win32_threads.c thread_gc_id = GC_lookup_thread(thread); thread 734 gc/win32_threads.c result = pthread_detach(thread); thread 380 src/error.c ScmObj Scm_MakeThreadException(ScmClass *klass, ScmVM *thread) thread 384 src/error.c e->thread = thread; thread 229 src/gauche/exception.h ScmVM *thread; /* the thread that caused the exception */ thread 354 src/gauche/vm.h pthread_t thread; /* the thread executing this VM. */ thread 219 src/vm.c v->thread = (pthread_t)NULL; thread 231 src/vm.c if (vm->thread != (pthread_t)NULL) return FALSE; thread 236 src/vm.c vm->thread = pthread_self(); thread 3904 src/vm.c rootVM->thread = pthread_self();