Thiemo Seufer wrote: > Carlos O'Donell wrote: > > > > The following patch implements Win32 locking for vl.c (create_pidfile). > > Builds for mingw32, and tested on a Windows Server 2003 host by running > > two qemu's with the same -pidfile option. > > > > When cross-compiling the use of --enable-mingw32 should effect AIOLIBS, > > otherwise the build will use "-lrt" and this is not valid when compiling > > with mingw32. > > > > Patch attached for both. Built on linux and tested on Windows Server > > 2003. > > > > Comments? Please include me in the CC. > > I renamed it to qemu_create_pidfile and moved it to osdep.h. I hope > that has all necessary includes. Please test.
osdep.c, that is, only a tiny bit was for osdep.h. :-) Thiemo