Home | History | Annotate | Download | only in Modules

Lines Matching refs:tstate

398     PyThreadState *tstate;
405 && (tstate = PyThreadState_Get())
406 && tstate->interp) {
407 for(tstate = PyInterpreterState_ThreadHead(tstate->interp);
408 tstate;
409 tstate = PyThreadState_Next(tstate))
410 if (tstate->dict &&
411 PyDict_GetItem(tstate->dict, self->key))
412 PyDict_DelItem(tstate->dict, self->key);
605 PyThreadState *tstate;
612 PyThreadState *tstate;
615 tstate = boot->tstate;
616 tstate->thread_id = PyThread_get_thread_ident();
617 _PyThreadState_Init(tstate);
618 PyEval_AcquireThread(tstate);
648 PyThreadState_Clear(tstate);
685 boot->tstate = _PyThreadState_Prealloc(boot->interp);
686 if (boot->tstate == NULL) {
700 PyThreadState_Clear(boot->tstate);