Problem Stopping A Service
John Abel
john.abel at pa.press.net
Sat Feb 8 05:59:51 EST 2003
Hi!
I've written a service, which installs OK, and runs OK. The SvcDoRun
doesn't do a lot, it basically runs a SimpleHTTPServer (I'm not using
the serve_forever). The problem comes when I want to stop the service.
I seem the have to make a HTTP request, after issuing the stop for the
service to actually stop. I have a win32event.WaitForSingleObject, with
a timeout of 100ms, and I think this is where the problem lies.
Has anyone any ideas of what an ideal timeout would be? Or, does my
problem lie elsewhere?
Thanks
John
More information about the Python-list
mailing list