Searched refs:run_in_executor (Results 1 - 7 of 7) sorted by relevance
/third_party/python/Lib/asyncio/ |
H A D | threads.py | 25 return await loop.run_in_executor(None, func_call)
|
H A D | base_events.py | 815 def run_in_executor(self, executor, func, *args): member in BaseEventLoop 818 self._check_callback(func, 'run_in_executor') 867 return await self.run_in_executor( 871 return await self.run_in_executor( 912 read = await self.run_in_executor(None, file.readinto, view) 1217 read = await self.run_in_executor(None, file.readinto, view)
|
H A D | events.py | 285 def run_in_executor(self, executor, func, *args): member in AbstractEventLoop
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_windows_events.py | 223 f = self.loop.run_in_executor(None, lambda: None)
|
H A D | test_events.py | 371 f2 = self.loop.run_in_executor(None, run, 'yo') 386 f2 = self.loop.run_in_executor(None, run) 1771 # run_in_executor test is tricky: the method is a coroutine, 1775 it = self.loop.run_in_executor(None, func).__await__() 2538 await loop.run_in_executor(f, f) 2732 result = await self.loop.run_in_executor(
|
H A D | test_tasks.py | 3221 future = self.loop.run_in_executor(None, self.target) 3228 future = self.loop.run_in_executor(None, self.target, True) 3237 future = self.loop.run_in_executor(None, callback) 3249 future = self.loop.run_in_executor(None, callback) 3260 run = self.loop.run_in_executor(
|
H A D | test_base_events.py | 997 self.loop.run_in_executor(None, support.gc_collect)) 1890 self.loop.run_in_executor(None, func))
|
Completed in 18 milliseconds