[Twisted-Python] Different behavior under Windos and Linux
Christopher Armstrong
radix at twistedmatrix.com
Wed Jan 2 09:22:02 EST 2008
On Jan 2, 2008 9:03 AM, W K <wlad.karyagin at mail.ru> wrote:
> Hello
> Well, yes, i do send data from threads, as you can see from the example below:
Twisted in general is not thread safe. If you want to call a Twisted
method from a non-reactor thread, you should use
reactor.callFromThread, which will cause a function to be called in
the reactor's thread.
This is probably the source of your problem.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
More information about the Twisted-Python
mailing list