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

Re: [Xen-devel] "xm save" trouble -- deadlock?



I've done a threaded fix already.  You're welcome to have a go at doing it
without a thread if you want, but I think it'll be messy.

Looks like, yes. Mixing the high-level buffered file I/O together with select() (and non-blocking fd's) usually doesn't work out very well. Going down using os.read() instead likely makes the code more complex than using one thread per file descriptor ...

cheers,

  Gerd


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.