Use await_shutdown().
authorIain Patterson <me@iain.cx>
Fri, 15 Nov 2013 15:17:39 +0000 (15:17 +0000)
committerIain Patterson <me@iain.cx>
Fri, 15 Nov 2013 16:04:01 +0000 (16:04 +0000)
commit99c5c2868f1d351d4d0569fda9199dda1aadad07
treea47b6d567465b81ab73f7e26f292afaa8b9f8147
parentf3d91adc48a7618fd9c94cbc45143f89b47b59e4
Use await_shutdown().

Use the new await_shutdown() funtion to wait for the application to stop
rather than calling WaitForSingleObject() directly, so we can update the
service status periodically.
process.cpp
process.h
service.cpp