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

Re: [Xen-devel] [PATCH 1/1] tools/ocaml: Re-introduce Xenctrl.with_intf wrapper

Christian Lindig writes ("Re: [Xen-devel] [PATCH 1/1] tools/ocaml: Re-introduce 
Xenctrl.with_intf wrapper"):
> I agree that it would not harm but conceptually I believe you 
> should manage this explicitly using interface_{open/close} or implicitly 
> using with_intf. I would use an exit handler to close this global handle
> but it would be safe to never close it and to let the process terminate.

Right, but for example you might be in transition from one pattern to
the other.  That is not forbidden.


Xen-devel mailing list



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