Lines Matching refs:tcl_tstate
238 In addition, for a threaded Tcl, a single global tcl_tstate won't
250 #define tcl_tstate \
253 static PyThreadState *tcl_tstate = NULL;
260 tcl_tstate = tstate;
263 tcl_tstate = NULL; \
271 tcl_tstate = NULL; if(tcl_lock)PyThread_release_lock(tcl_lock); }
274 { PyThreadState *tstate = tcl_tstate; tcl_tstate = NULL; \
282 tcl_tstate = tstate; }
2742 tcl_tstate = tstate;
2744 tcl_tstate = NULL;
3208 tcl_tstate = event_tstate;
3212 tcl_tstate = NULL;