[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10/29] libxl: events: Make timeout and async exec setup take an ao, not a gc
On Tue, 2015-02-10 at 20:09 +0000, Ian Jackson wrote: > Change the timeout setup functions to take a libxl__ao, not a > libxl__gc. This is going to be needed for ao cancellation, because > timeouts are going to be a main hook for ao cancellation - so the > timeouts need to be associated with an ao. > > This means that timeouts can only occur as part of a long-running > libxl function (but this is of course correct, as libxl shouldn't have > any global timeouts, and indeed all the call sites have an ao). > > Also remove the gc parameter from libxl__async_exec_start. It can > just use the gc from the ao supplied in the aes. > > All the callers follow the obvious patterns and therefore supply the > ao's gc to libxl__async_exec_start and the timeout setup functions. > There is therefore no functional change in this patch. > > Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > CC: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> > CC: Wen Congyang <wency@xxxxxxxxxxxxxx> > CC: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |