Re: [ovs-dev] [PATCH 4/5] fatal-signal: Handle SIGINT for Windows.

2014-02-26 Thread Ben Pfaff
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

[ovs-dev] [PATCH 4/5] fatal-signal: Handle SIGINT for Windows.

2014-02-26 Thread Gurucharan Shetty
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.