>I was wondering if anyone could tell me why threading was depreciated; and >give me a use case for the >multiprocessing : Queue function in python 2.7.
Threading was *not* deprecated Python 2.x or 3.x http://docs.python.org/dev/py3k/library/threading.html?highlight=threading#threading http://docs.python.org/library/threading.html Threading is for single process programs that want to emulate being multi-process while multiprocessing actually creates different processes. The multiprocessing module docs say: "[sic]multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock by using subprocesses instead of threads. " You can read about the multiprocessing module here: http://docs.python.org/library/multiprocessing.html# Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor