[Top][All Lists]

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

Re: [libvirt] mingw: virsh event loop failure in current git

From: Paolo Bonzini
Subject: Re: [libvirt] mingw: virsh event loop failure in current git
Date: Tue, 29 Mar 2011 08:48:03 +0200
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/29/2011 01:27 AM, Eric Blake wrote:
Paolo, any thoughts on the best approach to take?  (I know which way I'm
leaning, but want some feedback before I give away my bias).

Without guessing what your bias is, I also :) prefer to implement {g,s}et_nonblock_flag functions. It would use either SetNamedPipeHandleState or ioctlsocket (using the socket detection trick in sockets.c to detect sockets, and then GetFileType to detect pipes if it fails).

This module can then be used to build a fcntl F_GETFL/F_SETFL implementation, but it is not very important to do so.


reply via email to

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