On Mon, Apr 21, 2008 at 07:38:55PM +0200, Frank Barknecht wrote: > As I'm recently doing more Lua than Python programming: the Lua > community is traditionally very sceptical of threads. The alternative > approach generally taken in Lua are Coroutines, which found their way > into Python some years ago as well ("yield", generators, iterators > etc.), but only in a limited way compared to Lua's more powerful and > flexible asymmetrical coroutines. An interesting paper in this regard > is this: http://www.inf.puc-rio.br/~roberto/docs/corosblp.pdf > > Coroutines are more lightweight than processes and don't need special > synchronisation efforts as only one Coroutine is running at any given > time.
http://pypi.python.org/pypi/cogen/ Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss