Home
last modified time | relevance | path

Searched refs:get_running_loop (Results 1 – 25 of 25) sorted by relevance

/third_party/python/Lib/asyncio/
Dtasks.py37 loop = events.get_running_loop()
44 loop = events.get_running_loop()
336 loop = events.get_running_loop()
372 loop = events.get_running_loop()
405 loop = events.get_running_loop()
599 loop = events.get_running_loop()
Devents.py694 def get_running_loop(): function
799 _py_get_running_loop = get_running_loop
809 get_running_loop, get_event_loop, _get_event_loop)
816 _c_get_running_loop = get_running_loop
Dthreads.py22 loop = events.get_running_loop()
Dstreams.py44 loop = events.get_running_loop()
76 loop = events.get_running_loop()
93 loop = events.get_running_loop()
105 loop = events.get_running_loop()
Dsubprocess.py202 loop = events.get_running_loop()
215 loop = events.get_running_loop()
Dstaggered.py75 loop = loop or events.get_running_loop()
Dunix_events.py1246 loop = events.get_running_loop()
1371 loop = events.get_running_loop()
/third_party/python/Lib/test/test_asyncio/
Dtest_locks.py58 loop = asyncio.get_running_loop()
149 asyncio.get_running_loop().call_soon(task.cancel)
179 fa = asyncio.get_running_loop().create_future()
205 loop = asyncio.get_running_loop()
356 asyncio.get_running_loop().call_soon(wait.cancel)
470 asyncio.get_running_loop().call_soon(wait.cancel)
490 asyncio.get_running_loop().call_soon(wait_task.cancel)
491 asyncio.get_running_loop().call_soon(cond.release)
880 asyncio.get_running_loop().call_soon(acquire.cancel)
Dtest_runners.py131 loop = asyncio.get_running_loop()
169 loop = asyncio.get_running_loop()
Dtest_windows_events.py248 asyncio.get_running_loop(),
262 asyncio.get_running_loop(),
Dtest_events.py2651 self.get_running_loop_saved = events.get_running_loop
2656 events.get_running_loop = type(self).get_running_loop_impl
2661 asyncio.get_running_loop = type(self).get_running_loop_impl
2686 events.get_running_loop = self.get_running_loop_saved
2691 asyncio.get_running_loop = self.get_running_loop_saved
2737 asyncio.get_running_loop()
2742 self.assertIs(asyncio.get_running_loop(), loop)
2765 asyncio.get_running_loop()
2787 asyncio.get_running_loop()
2792 self.assertIs(asyncio.get_running_loop(), loop)
[all …]
Dtest_base_events.py1004 self.done = asyncio.get_running_loop().create_future()
/third_party/python/Doc/library/
Dasyncio-protocol.rst745 loop = asyncio.get_running_loop()
794 loop = asyncio.get_running_loop()
847 loop = asyncio.get_running_loop()
903 loop = asyncio.get_running_loop()
957 loop = asyncio.get_running_loop()
1015 loop = asyncio.get_running_loop()
Dasyncio-llapi-index.rst18 * - :func:`asyncio.get_running_loop`
33 * :ref:`Using asyncio.get_running_loop() <asyncio_example_future>`.
Dasyncio-task.rst258 The task is executed in the loop returned by :func:`get_running_loop`,
320 loop = asyncio.get_running_loop()
800 If *loop* is ``None`` :func:`get_running_loop` is used to get
811 If *loop* is ``None``, :func:`get_running_loop` is used for getting
Dasyncio-future.rst234 loop = asyncio.get_running_loop()
Dasyncio-eventloop.rst30 .. function:: get_running_loop()
50 :func:`get_running_loop` function is preferred to :func:`get_event_loop`
59 :func:`get_running_loop`.
1106 loop = asyncio.get_running_loop()
1714 loop = asyncio.get_running_loop()
Dasyncio-stream.rst477 loop = asyncio.get_running_loop()
/third_party/python/Lib/test/
Dtest_asyncgen.py1476 loop = asyncio.get_running_loop()
1501 loop = asyncio.get_running_loop()
1529 loop = asyncio.get_running_loop()
1586 loop = asyncio.get_running_loop()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcommon.pyx.pxi180 return asyncio.get_running_loop()
/third_party/python/Modules/
D_asynciomodule.c224 get_running_loop(PyObject **loop) in get_running_loop() function
327 if (get_running_loop(&loop)) { in get_event_loop()
3039 if (get_running_loop(&loop)) { in _asyncio__get_running_loop_impl()
3115 if (get_running_loop(&loop)) { in _asyncio_get_running_loop_impl()
/third_party/python/Misc/NEWS.d/
D3.7.0a4.rst588 Add asyncio.get_running_loop() function.
D3.10.1.rst551 gets cleared on dealloc to prevent use-after-free in get_running_loop
/third_party/python/Doc/whatsnew/
D3.10.rst1691 :func:`~asyncio.get_running_loop`.
D3.7.rst680 * The new :func:`asyncio.get_running_loop` function returns the currently