mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-115168: Add pystats counter for invalidated executors (GH-115169)
This commit is contained in:
parent
96c10c6485
commit
b05afdd5ec
11 changed files with 31 additions and 14 deletions
|
@ -1035,7 +1035,7 @@ static PyObject *
|
|||
invalidate_executors(PyObject *self, PyObject *obj)
|
||||
{
|
||||
PyInterpreterState *interp = PyInterpreterState_Get();
|
||||
_Py_Executors_InvalidateDependency(interp, obj);
|
||||
_Py_Executors_InvalidateDependency(interp, obj, 1);
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue