Re: [Twisted-Python] Running twisted app in a different thread

2010-01-05 Thread Reza Lotun
Hi Devraj, > Is it possible to ask the Twisted application to run in a sea prate thread? Yes it is possible. Simply start the reactor in a thread, but run it as: reactor.run(installSignalHandlers=False) If you do it this way you're going to have to handle signals yourself. You're going to have

Re: [Twisted-Python] Running twisted app in a different thread

2010-01-05 Thread sstein...@gmail.com
On Jan 5, 2010, at 2:29 AM, Devraj Mukherjee wrote: > Hi all, > > I am new to Twisted, please be gentle :) > > Is it possible to ask the Twisted application to run in a sea prate thread? There are no sea pirates in Twisted. S ___ Twisted-Python ma

[Twisted-Python] Running twisted app in a different thread

2010-01-04 Thread Devraj Mukherjee
Hi all, I am new to Twisted, please be gentle :) The Twisted application I am dealing with is python-vnc-viewer (http://python-vnc.viewer.googlecode.com). We are attempting the RFB library implemented using Twisted in our application, to bring up a customer viewer. Our uses a threading model tha