From: Jesse Noller Date: Sat, 6 Sep 2008 01:20:11 +0000 (+0000) Subject: Fix typo in multiprocessing doc, cancel_join_thread was missing _thread X-Git-Tag: v2.6rc1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ff5b2ec4bec4e7177ba75ca16e4368414f5d56;p=thirdparty%2FPython%2Fcpython.git Fix typo in multiprocessing doc, cancel_join_thread was missing _thread --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index f9737150a745..bb6e846e9dd3 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1861,7 +1861,7 @@ Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the buffered items are fed by the "feeder" thread to the underlying pipe. (The child process can call the - :meth:`Queue.cancel_join` method of the queue to avoid this behaviour.) + :meth:`Queue.cancel_join_thread` method of the queue to avoid this behaviour.) This means that whenever you use a queue you need to make sure that all items which have been put on the queue will eventually be removed before the