On 12/10/2010 03:55 PM, Eric Blake wrote:
> I've fixed pipe() in gnulib.  waitpid() will need a bit more
> invasive fix; I'm thinking of creating:
> 
> struct virPid {
> #ifdef WIN32
>     HANDLE pid;
> #else
>     pid_t pid;
> #endif
> };

Not quite necessary; _spawn() in mingw returns a pid_t, and _cwait() in
mingw comes pretty close to approximating waitpid().  But still some
gymnastics to perform.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to