Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-04-01 Thread Ian Campbell
On Tue, 2015-03-31 at 19:33 +0100, Ian Jackson wrote: Ian Campbell writes (Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API): On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: +/* + * For nested aos: + * Semantically, cancellation

Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-03-31 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API): On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: +/* + * It is sometimes possible to cancel an asynchronous operation. + * + * libxl_ao_cancel searches for an ongoing

Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-03-31 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API): On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: +/* + * For nested aos: + * Semantically, cancellation affects the whole tree of aos, + *not just

Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-03-24 Thread Ian Campbell
On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: +/* + * It is sometimes possible to cancel an asynchronous operation. + * + * libxl_ao_cancel searches for an ongoing asynchronous operation whose + * ao_how is identical to *how, and tries to cancel it. I can see that you have arranged

Re: [Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-03-24 Thread Ian Campbell
On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: +/* + * For nested aos: + * Semantically, cancellation affects the whole tree of aos, + *not just the parent. + * libxl__ao_cancellable.ao refers to the child, so + *that the child callback sees the right

[Xen-devel] [PATCH 17/29] libxl: cancellation: Provide public ao cancellation API

2015-02-10 Thread Ian Jackson
Provide libxl_ao_cancel. There is machinery to allow an ao to register an interest in its cancellation, using a libxl__ao_cancellable. This API is not currently very functional: attempting cancellation it will always return NOTIMPLEMENTED and have no effect. Signed-off-by: Ian Jackson