[Dev] Twisted has a home on Chandler Wiki
Dave Smith
dizzyd at jabber.org
Mon May 31 17:55:05 PDT 2004
On May 31, 2004, at 3:38 PM, Andi Vajda wrote:
> With that in mind, my opinion, for what it's worth, is that we should
> have the
> following threading model:
>
> - a UI thread
> - a twisted thread
> - a task manager thread pool to which tasks are assigned and
> scheduled
>
As a refinement on that suggestion, I would note that Twisted provides
built-in thread pooling:
http://www.twistedmatrix.com/documents/current/howto/threading
This would allow you to use Twisted's scheduling system:
http://www.twistedmatrix.com/documents/current/howto/time
and avoid unnecessary duplication/re-creation of an entire scheduling
system and thread pooling.
D.
More information about the Dev
mailing list