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

Re: [Xen-devel] [minios] Add xenbus shutdown control support



On Tue, 2012-12-04 at 00:30 +0000, Samuel Thibault wrote:
> Re,
> 
> Ian Campbell, le Thu 29 Nov 2012 11:14:19 +0000, a Ãcrit :
> > On Wed, 2012-11-28 at 21:57 +0000, Samuel Thibault wrote:
> > > Add a thread watching the xenbus shutdown control path and notifies a
> > > wait queue.
> > 
> > Why a wait queue rather than a weak function call?
> 
> Because it integrates well with existing wait loops.

I was imagining that someone using such a wait loop would simply provide
the weak function to kick the queue themselves, rather than imposing
this design on them from the core. It's not a big deal though.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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