Home
last modified time | relevance | path

Searched refs:all_tasks (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures2.py13 return asyncio.all_tasks()
Dtest_tasks.py2373 self.assertEqual(asyncio.all_tasks(loop=self.loop), {task})
2390 self.assertEqual(asyncio.all_tasks(loop=self.loop), set())
2619 self.assertEqual(asyncio.all_tasks(self.loop), set())
3038 self.assertEqual(asyncio.all_tasks(loop), set())
3040 self.assertEqual(asyncio.all_tasks(loop), {task})
3054 self.assertEqual(asyncio.all_tasks(loop), set())
3056 self.assertEqual(asyncio.all_tasks(loop), {task})
3070 self.assertEqual(asyncio.all_tasks(loop), set())
3072 self.assertEqual(asyncio.all_tasks(loop), set())
3123 self.assertEqual(asyncio.all_tasks(loop), set())
[all …]
/external/python/cpython3/Lib/asyncio/
Drunners.py56 to_cancel = tasks.all_tasks(loop)
Dtasks.py41 def all_tasks(loop=None): function
/external/rust/crates/tokio/tests/
Dio_async_fd.rs383 let mut all_tasks = futures::future::try_join_all(tasks); in multiple_waiters() localVariable
386 r = std::pin::Pin::new(&mut all_tasks) => { in multiple_waiters()
395 all_tasks.await.unwrap(); in multiple_waiters()
/external/python/cpython3/Modules/
D_asynciomodule.c44 static PyObject *all_tasks; variable
1967 PyObject *res = _PyObject_CallMethodIdOneArg(all_tasks, in register_task()
1982 PyObject *res = _PyObject_CallMethodIdOneArg(all_tasks, in unregister_task()
3313 Py_CLEAR(all_tasks); in module_free()
3393 all_tasks = PyObject_CallNoArgs(weak_set); in module_init()
3395 if (all_tasks == NULL) { in module_init()
3473 Py_INCREF(all_tasks); in PyInit__asyncio()
3474 if (PyModule_AddObject(m, "_all_tasks", all_tasks) < 0) { in PyInit__asyncio()
3475 Py_DECREF(all_tasks); in PyInit__asyncio()
/external/python/cpython3/Lib/unittest/
Dasync_case.py130 to_cancel = asyncio.all_tasks(loop)
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst45 * - :func:`all_tasks`
Dasyncio-task.rst732 .. function:: all_tasks(loop=None)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst513 Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add
517 and ``asyncio.Task.all_tasks()``.
D3.7.0b5.rst150 Make asyncio.all_tasks() return only pending tasks.
D3.9.0b4.rst308 :meth:`asyncio.Task.all_tasks`. Patch contributed by Rémi Lapeyre.
D3.6.1rc1.rst261 Fix Task.current_task and Task.all_tasks implemented in C to accept None
D3.8.0a1.rst2730 Protect tasks weak set manipulation in ``asyncio.all_tasks()``
4490 Make asyncio.all_tasks() return only pending tasks.
D3.9.0a1.rst3057 Eliminate :exc:`RuntimeError` raised by :func:`asyncio.all_tasks()` if
D3.7.0a1.rst3326 Fix Task.current_task and Task.all_tasks implemented in C to accept None
/external/python/cpython3/Lib/test/
Dtest_asyncgen.py1201 tasks = asyncio.all_tasks()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst669 :class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks`
672 :meth:`Task.all_tasks() <asyncio.Task.all_tasks>` methods have been deprecated.
1958 The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
D3.9.rst1034 * The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
1036 :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.