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] changeset 1.1403 breaks previous xm behaviour

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] changeset 1.1403 breaks previous xm behaviour
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 16 May 2005 14:31:42 +0100
Cc: Andrew Thompson <xenuser@xxxxxxxxxxx>, Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Delivery-date: Mon, 16 May 2005 13:38:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42889D0A.7080008@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: University of Cambridge
References: <b1fa291705051514434e04d410@xxxxxxxxxxxxxx> <9cde8bff0505151931efcd66@xxxxxxxxxxxxxx> <42889D0A.7080008@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> Is twisted *evil*?
>
> I thought I read something about wanting to get away from it, but is
> there a particular reason?

Xend has to deal with *loads* of different kinds of events (admin socket 
connections, console data demux, device control messages...).  Twisted gives 
us an infrastructure for dealing with these in a non-threaded way.  It also 
gives some nifty things like an HTTP server, etc...

The new approach is to use language-level threads instead.  This makes certain 
things easier to follow, since you can have a thread for each logical stream 
of events.

Twisted has some nice features but we won't really need it once we move to the 
threaded model.  It's a shame to lose the HTTP server but the new Xend will 
include a minimal HTTP server in Python, which will be fine for our needs.

Cheers,
Mark

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