[PATCH libinput] evdev: set CLOCK_MONOTONIC as the time source

Thiago Macieira thiago at kde.org
Tue Feb 18 19:44:54 PST 2014


Em ter 18 fev 2014, às 22:33:26, Jasper St. Pierre escreveu:
> ... 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?

I'm guessing that some weird and niche embedded boards might not support it. 
Which is a use-case for libinput.

However, I'm guessing that it's ok to let the ioctl fail. No need to check if 
it will fail, simply let it.

-- 
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



More information about the wayland-devel mailing list