[PATCH libinput] evdev: set CLOCK_MONOTONIC as the time source
Jasper St. Pierre
jstpierre at mecheye.net
Tue Feb 18 19:33:26 PST 2014
... and what if it fails? I'd say that requiring CLOCK_MONOTONIC is fine.
Are there any popular Linux setups that don't have CLOCK_MONOTONIC?
On Tue, Feb 18, 2014 at 10:13 PM, Thiago Macieira <thiago at kde.org> wrote:
> Em qua 19 fev 2014, às 08:47:32, Peter Hutterer escreveu:
> > + libevdev_set_clock_id(device->evdev, CLOCK_MONOTONIC);
> What happens if the monotonic clock isn't supported? Shouldn't you check
> sysconf(_SC_MONOTONIC_CLOCK) > 0 ?
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel Open Source Technology Center
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel