[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] [PATCH 3/4] Flush and Disconnect pipe clients
> -----Original Message----- > From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On > Behalf Of owen.smith@xxxxxxxxxx > Sent: 25 August 2017 11:51 > To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx > Cc: Owen Smith <owen.smith@xxxxxxxxxx> > Subject: [win-pv-devel] [PATCH 3/4] Flush and Disconnect pipe clients > > From: Owen Smith <owen.smith@xxxxxxxxxx> > > Named pipes should be flushed and disconnected before closed. > > Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> Acked-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > --- > src/monitor/monitor.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c > index 6068f5c..52a37f8 100644 > --- a/src/monitor/monitor.c > +++ b/src/monitor/monitor.c > @@ -491,6 +491,8 @@ PipeThread( > > CloseHandle(Overlapped.hEvent); > > + FlushFileBuffers(Pipe->Pipe); > + DisconnectNamedPipe(Pipe->Pipe); > CloseHandle(Pipe->Pipe); > CloseHandle(Pipe->Thread); > free(Pipe); > -- > 2.8.3 > > > _______________________________________________ > win-pv-devel mailing list > win-pv-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |