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
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
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
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
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
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