[Twisted-Python] Re: re-entrancy question
apocalypznow at gmail.com
Tue Feb 8 12:42:17 EST 2005
I have a TCP connection handled by socket calls, not through Twisted.
It is because the app on the other end of the socket call can not run a
Christopher Armstrong wrote:
> On Tue, 08 Feb 2005 01:32:51 -0800, apocalypznow <apocalypznow at gmail.com> wrote:
>>I've got a Twisted server application that also listens for other types
>>of TCP connections on another port. Upon receiving certain data on that
>>other port, I make calls to objects subclassed from pb.Avatar. Given
>>that Twisted runs on one loop doing select(), I think I have a
>>re-entrancy situation. Is this:
>>2) why is it dangerous?
>>3) and how would I go about achieving what I want safely?
> Are all of your TCP connections handled by Twisted? If that is the
> case, and you're not doing anything weird with threads or something,
> then you have no re-entering going on, and it is not dangerous at all.
More information about the Twisted-Python