diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-05 18:48:56 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-05 18:48:56 (GMT) |
commit | f57674713a82b42c56b87342ad96f6554f178c47 (patch) | |
tree | a610df01cb635a1cdf97d55050cf0a5c8d3f77ca /Doc/whatsnew | |
parent | ba232dfc83fcdff27b014c8db6c1e1919b42d28e (diff) | |
download | cpython-f57674713a82b42c56b87342ad96f6554f178c47.zip cpython-f57674713a82b42c56b87342ad96f6554f178c47.tar.gz cpython-f57674713a82b42c56b87342ad96f6554f178c47.tar.bz2 |
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index be2c6ff..9462ef5 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -615,8 +615,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 |