From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH RFC v6.1 11-14/10] libxl: asynchronous operations Date: Mon, 9 Jan 2012 17:34:33 +0000 Message-ID: <1326130477-18085-1-git-send-email-ian.jackson@eu.citrix.com> References: <1325882107-5794-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1325882107-5794-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Here are four more patches to go onto the end of my previous 10-patch event series posting: 11/10 libxl: Asynchronous/long-running operation infrastructure 12/10 libxl: New convenience macro CONTAINING_STRUCT 13/10 libxl: Introduce libxl__ev_devstate 14/10 libxl: Convert to asynchronous: device removal This introduces a standard way for the same libxl function to be useable both by simple-minded callers who want to wait synchronously, and by advanced callers who want to the function to return immediately and arrange a callback or event later.