Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Stuart Donaldson <stuartd@al...> - 2002-12-17 16:49:37
I am working on a patch to integrate much of the functionality of the
ThreadedAppServer.run() function into a method on ThreadedAppServer so it
can be more easily subclassed.
In trying to not break any existing functionality, I have a couple of
The run function currently catches KeyboardInterrupt exceptions. However
signals for this are also caught and directed to the shutDown function. Is
there a case where the KeyboardInterrupt exceptions would get thrown?
Would it make more sense if, after returning from mainloop() we checked to
see if we were still running, and then called shufDown() if needed?
Also, the NT code never seems to call shutDown(), it just sets
server.running=0. Is this a problem on NT? I don't have much NT/Python
combined experience so I don't know why it might not want to call shutDown()
and cleanup the queues.