Re: SocketServer, its offspring, and threads

2008-06-04 Thread darel . finkbeiner
On May 25, 10:40 am, eliben <[EMAIL PROTECTED]> wrote: > Hello, > > I have a small wxPython application. Today I was trying to add some > RPC capability to it, so I implemented an instance of > SimpleXMLRPCServer that runs in a separate thread when invoked and > answers requests. > > All went fine

Re: SocketServer, its offspring, and threads

2008-05-28 Thread Tim Roberts
eliben <[EMAIL PROTECTED]> wrote: > >I ended up using an ugly hack to make it work for me. Since >handle_request() only blocks until a request is received, the thread >can be unblocked by sending it a real message. So to stop a server, I >opened a XML-RPC client connection (using ServerProxy from x

SocketServer, its offspring, and threads

2008-05-25 Thread eliben
Hello, I have a small wxPython application. Today I was trying to add some RPC capability to it, so I implemented an instance of SimpleXMLRPCServer that runs in a separate thread when invoked and answers requests. All went fine until I realized that I have to sometimes stop the server - which is