summaryrefslogtreecommitdiff
path: root/Doc/library/asyncio-stream.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-02-25 14:24:15 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-02-25 14:24:15 +0100
commit83704963c0d4e7b1474d6102ed6287a7ae4907a8 (patch)
tree2c959817bccdef128ceca8f8f95311bbd693175f /Doc/library/asyncio-stream.rst
parent532c69a4280185de3faf198776b6d5d75bdec095 (diff)
downloadcpython-git-83704963c0d4e7b1474d6102ed6287a7ae4907a8.tar.gz
asyncio: add a note about (non) thread safety in each class
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-rw-r--r--Doc/library/asyncio-stream.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
index 22b7341cb7..41b24acaaf 100644
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -85,6 +85,8 @@ StreamReader
.. class:: StreamReader(limit=None, loop=None)
+ This class is :ref:`not thread safe <asyncio-multithreading>`.
+
.. method:: exception()
Get the exception.
@@ -155,6 +157,8 @@ StreamWriter
wait for flow control. It also adds a transport attribute which references
the :class:`Transport` directly.
+ This class is :ref:`not thread safe <asyncio-multithreading>`.
+
.. attribute:: transport
Transport.