daemon-windows: Create pidfiles with option --pidfile.
authorGurucharan Shetty <gshetty@nicira.com>
Tue, 15 Apr 2014 20:26:53 +0000 (13:26 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 22 Apr 2014 22:19:08 +0000 (15:19 -0700)
commita9e9db79e7e6cdcb195e91c431c4a335b72b14da
treef51e6953a8ebb3a445a6c10f293f16ef5123307a
parent4ec4776c69d44acb3379e663ca700fd7ab3aecb2
daemon-windows: Create pidfiles with option --pidfile.

In Windows, we cannot delete a file that has been opened.
We use this feature to "lock" the pidfile.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/daemon-windows.c
lib/daemon.h