summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2006-03-24 20:43:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2006-03-24 20:43:29 (GMT)
commitfd3fcf0b35a479c3df4999d9bad2337a5e3af140 (patch)
tree770ddf8cb99340d082dd16db6c9b75762fc025ee /Misc
parent98bcb7081513eda72d4623e11ddb8cba66310561 (diff)
downloadcpython-fd3fcf0b35a479c3df4999d9bad2337a5e3af140.zip
cpython-fd3fcf0b35a479c3df4999d9bad2337a5e3af140.tar.gz
cpython-fd3fcf0b35a479c3df4999d9bad2337a5e3af140.tar.bz2
SF Patch #1455676: Simplify using Queues with daemon consumer threads
Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ba078b2..1d75424 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -483,6 +483,10 @@ Extension Modules
Library
-------
+- Queue.Queue objects now support .task_done() and .join() methods
+ to make it easier to monitor when daemon threads have completed
+ processing all enqueued tasks. Patch #1455676.
+
- popen2.Popen objects now preserve the command in a .cmd attribute.
- Added the ctypes ffi package.