[issue25304] Add run_coroutine_threadsafe() to asyncio

Vincent Michel report at bugs.python.org
Mon Oct 5 18:09:30 EDT 2015


Vincent Michel added the comment:

I attached a patch that should sum up all the points we discussed.

I replaced the `call_soon_threadsafe` example with:
  loop.call_soon_threadsafe(callback, *args)
cause I couldn't find a simple specific usage. Let me know if you think of a better example.

----------
Added file: http://bugs.python.org/file40691/run_coroutine_threadsafe_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25304>
_______________________________________


More information about the Python-bugs-list mailing list