Guido> At some level, Queue is just an application of threading, while
    Guido> the threading module provides the basic API ...

While Queue is built on top of threading Lock and Condition objects, it is a
highly useful synchronization mechanism in its own right, and is almost
certainly easier to use correctly (at least for novices) than the
lower-level synchronization objects the threading module provides.  If
threading is the "friendly" version of thread, perhaps Queue should be
considered the "friendly" synchronization object.

(I'm playing the devil's advocate here.  I'm fine with Queue being where it
is.)

Skip
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to