[Zope-Coders] ThreadedAsync.LoopCallback

Jeremy Hylton jeremy@zope.com
24 Feb 2003 16:07:28 -0500


On Mon, 2003-02-24 at 14:00, Shane Hathaway wrote:
> I don't think it would be hard to implement at all.  We'd delete more 
> code than we add.  No one is assigned to do it, though.

Until then, the threaded async code does need to be called by Zope's
mainloop.  A decent solution would be to create a single module that
implemented Zope's mainloop -- perhaps even a module name mainloop. 
Then any component -- ZEO, lifetime, whatever -- that needs to fiddle
with the mainloop can be registered there.  It doesn't seem like a good
idea to have Zope's mainloop implemented in a package named
ThreadedAsync or in a module named Lifetime.

Jeremy