Home
last modified time | relevance | path

Searched refs:call_soon_threadsafe (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Doc/library/
Dasyncio-dev.rst77 :meth:`loop.call_soon_threadsafe` method should be used. Example::
79 loop.call_soon_threadsafe(callback, *args)
84 low-level asyncio API, the :meth:`loop.call_soon_threadsafe` method
87 loop.call_soon_threadsafe(fut.cancel)
Dasyncio-llapi-index.rst89 * - :meth:`loop.call_soon_threadsafe`
Dasyncio-eventloop.rst191 .. method:: loop.call_soon_threadsafe(callback, *args, context=None)
1263 :meth:`loop.call_soon_threadsafe`.
/external/python/cpython3/Lib/asyncio/
Dfutures.py353 source_loop.call_soon_threadsafe(source.cancel)
362 dest_loop.call_soon_threadsafe(_set_state, destination, source)
Dbase_events.py485 self.call_soon_threadsafe(self.create_task, agen.aclose())
731 def call_soon_threadsafe(self, callback, *args, context=None): member in BaseEventLoop
1800 self.call_soon_threadsafe(self._set_coroutine_origin_tracking, enabled)
Devents.py285 def call_soon_threadsafe(self, callback, *args): member in AbstractEventLoop
Dtasks.py813 loop.call_soon_threadsafe(callback)
Dunix_events.py204 self.call_soon_threadsafe(transp._process_exited, returncode)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py318 self.loop.call_soon_threadsafe(callback, 'hello')
339 self.loop.call_soon_threadsafe(callback, 'hello')
366 self.loop.call_soon_threadsafe = patched_call_soon
1826 self.loop.call_soon_threadsafe(func)
2803 h = loop.call_soon_threadsafe(noop)
2992 NotImplementedError, loop.call_soon_threadsafe, None)
Dtest_base_events.py304 loop.call_soon_threadsafe(fut.set_exception, exc)
306 loop.call_soon_threadsafe(fut.set_result, None)
1821 self.loop.call_soon_threadsafe(func)
Dtest_sslproto.py377 self.loop.call_soon_threadsafe(
Dtest_tasks.py3127 self.loop.call_soon_threadsafe(coro.send, None)
/external/python/cpython3/Doc/whatsnew/
D3.7.rst641 :meth:`loop.call_soon_threadsafe() <asyncio.loop.call_soon_threadsafe>`,