diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-25 13:24:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-25 13:24:15 (GMT) |
commit | 83704963c0d4e7b1474d6102ed6287a7ae4907a8 (patch) | |
tree | 2c959817bccdef128ceca8f8f95311bbd693175f /Doc/library/asyncio-eventloop.rst | |
parent | 532c69a4280185de3faf198776b6d5d75bdec095 (diff) | |
download | cpython-83704963c0d4e7b1474d6102ed6287a7ae4907a8.zip cpython-83704963c0d4e7b1474d6102ed6287a7ae4907a8.tar.gz cpython-83704963c0d4e7b1474d6102ed6287a7ae4907a8.tar.bz2 |
asyncio: add a note about (non) thread safety in each class
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index f2c8945..d27eb4b 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -22,6 +22,8 @@ It provides multiple facilities, amongst which: Base class of event loops. + This class is :ref:`not thread safe <asyncio-multithreading>`. + Run an event loop ----------------- @@ -104,6 +106,9 @@ keywords to your callback, use :func:`functools.partial`. For example, Like :meth:`call_soon`, but thread safe. + See the :ref:`concurrency and multithreading <asyncio-multithreading>` + section of the documentation. + .. _asyncio-delayed-calls: |