[Twisted-Python] daemon thread support

Jp Calderone exarkun at intarweb.us
Tue Dec 2 22:46:27 EST 2003


On Wed, Dec 03, 2003 at 02:10:20PM +1100, Andrew Bennetts wrote:
> On Tue, Dec 02, 2003 at 09:46:20PM -0500, Bob Ippolito wrote:
> > 
> > On Dec 2, 2003, at 9:15 PM, Jp Calderone wrote:
> > 
> > >  This makes using threads far, far too easy.  Luckily for everyone, 
> > >on a
> > >second reading, I don't think these will work.  imap needs something to
> > >iterate the object it returns.  Both of the above solutions will simply
> > >create an itertools.imap object and then do nothing with it :)
> > 
> > What about list as the function, and itertools.imap as the argument to 
> > that function?
> 
> Or maybe sets.Set?  So long as process always returns the same value
> (probably None), this won't eat memory the way list would...
> 

  Ssssssssssshhhhhhhhhhhh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031202/cda4de05/attachment.pgp 


More information about the Twisted-Python mailing list