Popular recipes tagged "meta:requires=nanothreads"http://code.activestate.com/recipes/tags/meta:requires=nanothreads/2005-12-12T00:49:44-08:00ActiveState Code RecipesGenerator Based Concurrency, with Real Threads when Needed. (Python)
2005-12-12T00:49:44-08:00S Whttp://code.activestate.com/recipes/users/1759688/http://code.activestate.com/recipes/440670-generator-based-concurrency-with-real-threads-when/
<p style="color: grey">
Python
recipe 440670
by <a href="/recipes/users/1759688/">S W</a>
(<a href="/recipes/tags/threads/">threads</a>).
Revision 4.
</p>
<p>This recipe uses NanoThreads. <a href="http://lgt.berlios.de/" rel="nofollow">http://lgt.berlios.de/</a></p>
<p>It shows how simulated concurrency, (using generators as tasks), can be transparently combined with OS Level Python threads, as and when needed.</p>