[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2 of 2] xl: Introduce helper macro for option parsing



On Tue, 2012-12-18 at 14:38 +0000, Ian Campbell wrote:
> 
> I originally preferred return from main_foo() over exit(2) so that we
> could have a chance to free the xl context etc (mostly for the benefit
> of people using valgrind). We have an atexit hook now so perhaps that
> concern is no longer valid.
> 
> > And if so why not have the macro (or the function) do that ?
> 
> I don't like returns in macros. 

I implemented this as a third patch in the series, so we can decide what
we think.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.