Lines Matching refs:current_tasks
48 static PyObject *current_tasks; variable
2001 item = _PyDict_GetItem_KnownHash(current_tasks, loop, hash); in enter_task()
2015 return _PyDict_SetItem_KnownHash(current_tasks, loop, task, hash); in enter_task()
2029 item = _PyDict_GetItem_KnownHash(current_tasks, loop, hash); in leave_task()
2041 return _PyDict_DelItem_KnownHash(current_tasks, loop, hash); in leave_task()
3314 Py_CLEAR(current_tasks); in module_free()
3340 current_tasks = PyDict_New(); in module_init()
3341 if (current_tasks == NULL) { in module_init()
3480 Py_INCREF(current_tasks); in PyInit__asyncio()
3481 if (PyModule_AddObject(m, "_current_tasks", current_tasks) < 0) { in PyInit__asyncio()
3482 Py_DECREF(current_tasks); in PyInit__asyncio()