From: Ian Jackson Subject: Re: [PATCH 07/10] libxl: New API for providing OS events to libxl Date: Thu, 12 Jan 2012 15:49:56 +0000 Message-ID: <20239.292.66143.266122@mariner.uk.xensource.com> References: <1325882107-5794-1-git-send-email-ian.jackson@eu.citrix.com> <1325882107-5794-8-git-send-email-ian.jackson@eu.citrix.com> <1326367684.17210.245.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326367684.17210.245.camel@zakaz.uk.xensource.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: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 07/10] libxl: New API for providing OS events to libxl"): > It occurred to me just now that having a different type of this type of > gc has the benefit that since libxl__event_occurred takes one it will > necessarily filter back up the call chain and help enforce/highlight the > requirement that functions which directly or indirectly call > libxl__event_occurred use an egc. Yes, exactly. This is a very helpful consequence of using a different type. Ian.