Re: [Twisted-Python] Is it possible to know what kind of methods are thread safe?

2011-05-15 Thread Amaury Forgeot d'Arc
Hi, 2011/5/16 gelin yan : >    I notice the core doc mentions that "Most code in Twisted is not > thread-safe. For example, writing data to a transport from a protocol is not > thread-safe. " > >    I want to know whether there is a way to know what methods are thread > safe besides of reading sou

[Twisted-Python] Is it possible to know what kind of methods are thread safe?

2011-05-15 Thread gelin yan
Hi all I notice the core doc mentions that "Most code in Twisted is not thread-safe. For example, writing data to a transport from a protocol is not thread-safe. " I want to know whether there is a way to know what methods are thread safe besides of reading source codes? Or I use reacator.c