summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libqueue.tex
Commit message (Collapse)AuthorAgeFilesLines
* Delete the LaTeX doc tree.Georg Brandl2007-08-151-145/+0
|
* Lots of explicit class names for method and member descs.Georg Brandl2007-04-011-9/+9
|
* SF Patch #1455676: Simplify using Queues with daemon consumer threadsRaymond Hettinger2006-03-241-0/+49
| | | | | Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads.
* Bug #788520: Queue class has logic error when non-blockingTim Peters2004-07-121-3/+3
| | | | | | | | | | | | | | | | | | | | I don't agree it had a bug (see the report), so this is *not* a candidate for backporting, but the docs were confusing and the Queue implementation was old enough to vote. Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of Conditions (not_full and not_empty), sharing a common mutex. The code is 1/4 the size now, and 6.25x easier to understand. For blocking with timeout, we also get to reuse (indirectly) the tedious timeout code from threading.Condition. The Full and Empty exceptions raised by non-blocking calls are now easy (instead of nearly impossible) to explain truthfully: Full is raised if and only if the Queue truly is full when the non-blocking put call checks the queue size, and similarly for Empty versus non-blocking get. What I don't know is whether the new implementation is slower (or faster) than the old one. I don't really care. Anyone who cares a lot is encouraged to check that.
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-291-4/+0
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* Patch #572628: Optional timeouts for put and get.Martin v. Löwis2002-10-151-17/+29
|
* add seealso link to the bisect moduleSkip Montanaro2002-06-261-0/+4
|
* Fixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.Fred Drake2000-10-101-3/+2
|
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-1/+1
| | | | (Very rough.)
* Update documentation to reflect changes to Queue.py by Tim Peters.Guido van Rossum1999-02-081-15/+29
|
* New section header style.Fred Drake1998-08-101-2/+3
| | | | Fix up a few synopses.
* Adjusted to use the new module synopsis support macros.Fred Drake1998-07-231-2/+4
|
* Remove all uses of \sectcode; we can now use logical markup everywhere.Fred Drake1998-04-041-1/+1
|
* Use the new {methoddesc} and {memberdesc} environments as appropriate.Fred Drake1998-03-271-14/+12
|
* Logical markup.Fred Drake1998-03-101-42/+24
| | | | | | Correct misuse of indexsubutem. Describe the Queue class using {classdesc}{Queue}, not {funcdesc}{__init__}.
* Remove all \bcode / \ecode cruft; this is no longer needed. See previousFred Drake1998-02-131-8/+8
| | | | | | | | | checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
* Make the word "Module" in the section header start with an upper-case "M".Fred Drake1997-12-171-1/+1
|
* libqueue.tex: Documentation for the Queue.py module.Barry Warsaw1997-11-201-0/+88
Makefile: Add dependency on libqueue.tex lib.tex: Place the libqueue.tex documentation just after libthread.tex since Queue depends on thread support in Python.