exarkun at divmod.com
Wed Dec 6 08:49:50 EST 2006
On Wed, 6 Dec 2006 04:23:32 -0800, Gabriel <gabrielverta at gmail.com> wrote:
>I'm new in Twisted, and I'm having problems with Thread.
>I was looking for it at documentation, and saw that it's not safe
>(!?), but it's possible to run using twisted.python.threadable, I
>haven't understood the thread examples using simple TCP and
>ServerFactoryl, there is anything like reactor.run() using it or can I
>only use threads as client? Can anyone give me a basic example?
You don't need threads to do most things in Twisted. More than that,
threads aren't /helpful/ for doing most things in Twisted. More than
that, most of Twisted was written so that threads could be avoided.
More information about the Twisted-Python