[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Charrua release
On 30 September 2015 at 21:21, Christiano F. Haesbaert <haesbaert@xxxxxxxxxxxxx> wrote: >> Given you're using functors elsewhere, why is it a problem to use a >> functor for Clock too? > > Not a problem per se, but functors make it harder later to "just use" > the module, so I'm trying to avoid it. > > I've functorized over V1.CLOCK now, but instead of functorizing Lease > with V1.CLOCK as well, I now pass the current time as an argument. > This has the advantage of not having any time delta between two calls > if we pass the same current time, it also makes it easier to test or > write regression tests, Makes sense to me! > With this, clock.mli is gone. > > I'm working on the other points now :D. Cool :) -- Richard Mortier richard.mortier@xxxxxxxxxxxx _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |