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

Re: [Xen-devel] [PATCH 22/28] libxl: ocaml: event management



> > > I meant can the C bindings not take a reference to record their
> > > taking of the value and stashing it somewhere?
> >
> > This is probably not the best way to deal with this.  It will result
> > in the whole libxl context never being disposed of even when it's no
> > longer needed.
> 
> I was referring to taking a reference on the ocaml value used as the user
> pointer, not to taking a reference to the libxl context.

Ok, I am experimenting with a few higher-level functions in the bindings. I 
think we can maintain a list of "user" values for the event system inside the 
Xenlight module.

I'll send an update soon.

Cheers,
Rob
_______________________________________________
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®.