[Top][All Lists]

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

Re: passfd on more platforms

From: Eric Blake
Subject: Re: passfd on more platforms
Date: Mon, 14 Mar 2011 07:16:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 03/13/2011 05:38 PM, Bruno Haible wrote:
> On mingw, I haven't even tried the module. It first requires
>   - a 'socketpair' module for the test,
>   - to rewrite the test to use the 'execute' module instead of fork().

Why do we even need a child process?  Can't we test passing of an fd
between two threads of the same process?  (However, I agree that since
both passfd and recvfd are blocking, it does require multiple threads or
multiple processes to test correctly).

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]