[Twisted-Python] Some threadpool patches

Anders Chrigström ac at strakt.com
Mon Sep 29 08:28:45 EDT 2003


Hi,

Here are two patches regarding the threadpool.

The first is to python/threadpool.py and firstly fixes the problem with
the threadpool not being safe to it's own threads and secondly to ensure
that enough threads get started. I'm not convinced that the way the
threads are started is the best way, but it gets the job done.

The second patch removes knowledge of the threadpool internals from
internet/base.py

/Anders

-- 
Anders Chrigström <ac at strakt.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threadpool.patch
Type: text/x-patch
Size: 5706 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030929/3c718da4/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base.patch
Type: text/x-patch
Size: 855 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030929/3c718da4/attachment-0001.bin 


More information about the Twisted-Python mailing list