From 24f207e99e8ec2213fffde44d6d637b1a9770944 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Thu, 5 Jan 2012 19:48:30 +0100 Subject: Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler --- Doc/whatsnew/2.6.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index ccc97b8..5cca82c 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -611,8 +611,8 @@ multiple of 4. result = queue.get() print 'Factorial', N, '=', result -A :class:`Queue` is used to communicate the input parameter *N* and -the result. The :class:`Queue` object is stored in a global variable. +A :class:`Queue` is used to communicate the result of the factorial. +The :class:`Queue` object is stored in a global variable. The child process will use the value of the variable when the child was created; because it's a :class:`Queue`, parent and child can use the object to communicate. (If the parent were to change the value of -- cgit v0.12