Added await_shutdown() function.
authorIain Patterson <me@iain.cx>
Fri, 15 Nov 2013 11:24:45 +0000 (11:24 +0000)
committerIain Patterson <me@iain.cx>
Fri, 15 Nov 2013 16:03:03 +0000 (16:03 +0000)
commitf3d91adc48a7618fd9c94cbc45143f89b47b59e4
tree686ddc5997843c648c745afaa8640046bf622af1
parent636b16d3702049145143511c6461ff20bf1f245d
Added await_shutdown() function.

The system expects service STOP requests to be honoured promptly.  If
service shutdown will take longer than 30 seconds we must update the
service status checkpoint variable before then.

We also need to ensure that the service status wait hint time is
strictly increasing every time we update the checkpoint, otherwise the
service will be considered to be hung after 60 seconds.
messages.mc
nssm.h
service.cpp
service.h