WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] stream fixes for migration

On Tue, 5 Apr 2005, David Hopwood wrote:

> Charles Coffing wrote:
> > I've attached a patch for libxutil/libxc.  This fixes one of the hangs I've 
> > seen during migrations.  It applies against 2.0 and 2.0-testing.
> >
> > Changes:
> >  * Encountering EOF or error when xfrd reads from stream could cause an 
> > infinite loop.
> >  * Cleaned up the closing of streams.
> >  * Fixed several memory leaks.
>
> Is it possible for IOStreams to be used concurrently, or are they only
> used in a single-threaded manner?

doing anything to a c stream will work in a multithreaded environment; ie, the
internal buffers/vars will not be stompped on.

It's in the spec(don't ask me where, I read it in the info docs).

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel