On Wed, Feb 26, 2014 at 10:51:59AM -0800, Gurucharan Shetty wrote:
> Ctrl+C signals are a special case for Windows and can
> be handled by registering a handle through
> SetConsoleCtrlHandler() routine. This is only useful
> when we run it directly on console and not as services in
> the background
Ctrl+C signals are a special case for Windows and can
be handled by registering a handle through
SetConsoleCtrlHandler() routine. This is only useful
when we run it directly on console and not as services in
the background.
Once we get a Ctrl+C signal, we call the cleanup functions
and then exit.