]> git.proxmox.com Git - qemu.git/commit - vl.c
fix pidfile option to work in WIN32
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Thu, 3 Dec 2009 13:56:03 +0000 (15:56 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 18 Dec 2009 22:23:56 +0000 (23:23 +0100)
commit099fe236d5e37e8477d17fae09f398bb49eebc13
tree687d79961d8f49d98b642bf3b4b86dbfdb5f1e17
parent1e8b27ca853d26e8854dc1a3e7ce88605e1673b9
fix pidfile option to work in WIN32

Explicit read/write locking pidfile under WIN32 is bit extreme
nobody get the chance to read the pidfile. Convert to a write-only lock.

Also, creating pidfile was disabled along with daemonize under
WIN32. Enable it, but do not enable daemon support which doesn't
exist under WIN32 atm.

From: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
osdep.c
vl.c