summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAsk Solem <askh@opera.com>2010-11-09 21:46:03 (GMT)
committerAsk Solem <askh@opera.com>2010-11-09 21:46:03 (GMT)
commit518eaa8a7676a456ef8f04a8645af28c8b1ea09c (patch)
treececc5e44b93c400ee87cf66268f302213a7fccb9 /Doc/library
parent1d3b89397b02bde3d6e8f63619a28d11fd13ac4d (diff)
downloadcpython-518eaa8a7676a456ef8f04a8645af28c8b1ea09c.zip
cpython-518eaa8a7676a456ef8f04a8645af28c8b1ea09c.tar.gz
cpython-518eaa8a7676a456ef8f04a8645af28c8b1ea09c.tar.bz2
Issue #7707: Documented that multiprocessing.Queue operations during
import can lead to deadlocks.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/multiprocessing.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 4f3f1cd..d611278 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -120,7 +120,9 @@ processes:
print(q.get()) # prints "[42, None, 'hello']"
p.join()
- Queues are thread and process safe.
+ Queues are thread and process safe, but note that they must never
+ be instantiated as a side effect of importing a module: this can lead
+ to a deadlock! (see :ref:`threaded-imports`)
**Pipes**