[Patches] [ python-Patches-731701 ] SpawnedGenerator class for threading module

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 19:38:03 -0700


Patches item #731701, was opened at 2003-05-02 20:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731701&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mathieu Fenniak (laotzu0)
Assigned to: Nobody/Anonymous (nobody)
Summary: SpawnedGenerator class for threading module

Initial Comment:
The attached patch adds a new class, threading.SpawnedGenerator, 
written by Garth T Kidd in his weblog.  (http://
www.deadlybloodyserious.com/Python/2003/04/22.html)  The class 
wraps a given generator as a new generator that runs in a seperate 
thread by retrieving the generator values and storing them in a Queue 
object.  It's a very nice high-level threading interface.  A basic 
functionality test has also been added to test_threading.py.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731701&group_id=5470