Home
last modified time | relevance | path

Searched refs:ceval2 (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Python/
Dceval_gil.h144 drop_gil(struct _ceval_runtime_state *ceval, struct _ceval_state *ceval2, in drop_gil() argument
148 struct _gil_runtime_state *gil = &ceval2->gil; in drop_gil()
171 if (_Py_atomic_load_relaxed(&ceval2->gil_drop_request) && tstate != NULL) { in drop_gil()
234 struct _ceval_state *ceval2 = &interp->ceval; in take_gil() local
236 struct _gil_runtime_state *gil = &ceval2->gil; in take_gil()
302 drop_gil(ceval, ceval2, tstate); in take_gil()
307 if (_Py_atomic_load_relaxed(&ceval2->gil_drop_request)) { in take_gil()
316 COMPUTE_EVAL_BREAKER(interp, ceval, ceval2); in take_gil()
Dceval.c167 struct _ceval_state *ceval2) in COMPUTE_EVAL_BREAKER() argument
169 _Py_atomic_store_relaxed(&ceval2->eval_breaker, in COMPUTE_EVAL_BREAKER()
170 _Py_atomic_load_relaxed(&ceval2->gil_drop_request) in COMPUTE_EVAL_BREAKER()
173 | (_Py_atomic_load_relaxed(&ceval2->pending.calls_to_do) in COMPUTE_EVAL_BREAKER()
175 | ceval2->pending.async_exc); in COMPUTE_EVAL_BREAKER()
182 struct _ceval_state *ceval2 = &interp->ceval; in SET_GIL_DROP_REQUEST() local
183 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 1); in SET_GIL_DROP_REQUEST()
184 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SET_GIL_DROP_REQUEST()
192 struct _ceval_state *ceval2 = &interp->ceval; in RESET_GIL_DROP_REQUEST() local
193 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 0); in RESET_GIL_DROP_REQUEST()
[all …]