Lines Matching refs:boot
611 struct bootstate *boot = (struct bootstate *) boot_raw; in t_bootstrap() local
615 tstate = boot->tstate; in t_bootstrap()
621 boot->func, boot->args, boot->keyw); in t_bootstrap()
633 PyFile_WriteObject(boot->func, file, 0); in t_bootstrap()
635 PyObject_Print(boot->func, stderr, 0); in t_bootstrap()
643 Py_DECREF(boot->func); in t_bootstrap()
644 Py_DECREF(boot->args); in t_bootstrap()
645 Py_XDECREF(boot->keyw); in t_bootstrap()
657 struct bootstate *boot; in thread_PyThread_start_new_thread() local
678 boot = PyMem_NEW(struct bootstate, 1); in thread_PyThread_start_new_thread()
679 if (boot == NULL) in thread_PyThread_start_new_thread()
681 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()
682 boot->func = func; in thread_PyThread_start_new_thread()
683 boot->args = args; in thread_PyThread_start_new_thread()
684 boot->keyw = keyw; in thread_PyThread_start_new_thread()
685 boot->tstate = _PyThreadState_Prealloc(boot->interp); in thread_PyThread_start_new_thread()
686 if (boot->tstate == NULL) { in thread_PyThread_start_new_thread()
687 PyMem_DEL(boot); in thread_PyThread_start_new_thread()
694 ident = PyThread_start_new_thread(t_bootstrap, (void*) boot); in thread_PyThread_start_new_thread()
700 PyThreadState_Clear(boot->tstate); in thread_PyThread_start_new_thread()
701 PyMem_DEL(boot); in thread_PyThread_start_new_thread()