Justus Winter, le Wed 07 Oct 2015 00:17:13 +0200, a écrit :
> Quoting David Michael (2015-10-06 23:49:00)
> > Finally, a question on a somewhat related note ... maybe for the next
> > release: I haven't looked into it much yet, but I was thinking maybe
> > gnumach's new boot-time clock could be exported to provide real
> > CLOCK_MONOTONIC support for glibc. Are you aware of any details in
> > its implementation that would make it inapplicable? Linux apparently
> > uses time since boot as the return value for CLOCK_MONOTONIC as well.
>
> Yes, we should do that. It is a matter of creating a new interface,
> so that one can select the clock, maybe host_{g,s}et_time2. And the
> mapped time interface could export all the clocks. And glibc should
> be patched to map the time source and use it instead of host_get_time.
Agreed.
Samuel