qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH] Delete IOHandlers after potentially running


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Re: [PATCH] Delete IOHandlers after potentially running them
Date: Wed, 3 Nov 2010 14:40:08 +0000

On Wed, Nov 3, 2010 at 2:39 PM, Juan Quintela <address@hidden> wrote:
> Stefan Hajnoczi <address@hidden> wrote:
>> Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read()
>> handler that deletes its IOHandler is exposed to .fd_write() being
>> called on the deleted IOHandler.
>>
>> This patch fixes deletion so that .fd_read() and .fd_write() are never
>> called on an IOHandler that is marked for deletion.
>
> Reviewed by: Juan Quintela <address@hidden>
>
> But once here, what (appart from networking) reads and writes to the
> same fd?  And that removes the IOHandler on read while there are write
> stuff pending?

VNC

Stefan



reply via email to

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