[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 17/28] libxl: ocaml: add with_ctx helper function
> On Mon, 2013-03-25 at 14:45 +0000, Rob Hoes wrote: > > +let with_ctx ?logger f = > > Does this imply that xenopsd et al intend to use short lived contexts rather > than one or more long lived ones? No, it was just a little more convenient, because the with_ctx function also cleaned up the context and logger after use, so you won't be able to forget this. I have now taken Dave's advise and wrapped the ctx and logger pointers in custom block with "finalize" (GC) functions, so this became less useful. I have remove this patch in my v2 series. Cheers, Rob _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |