[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: update gnulib for pipe on mingw



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   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]