[PATCH] use CLOCK_MONOTONIC_COARSE posix timer instead of CLOCK_MONOTONIC in Xorg

Mark Kettenis mark.kettenis at xs4all.nl
Fri Aug 27 01:19:20 PDT 2010


> From: ykzhao <yakui.zhao at intel.com>
> Date: Fri, 27 Aug 2010 08:35:07 +0800
> 
> Thanks for the comments.
> OK. I will limit it to linux platform and won't create it if it is not
> defined in header file.

Don't limit it to just Linux.  We need less #ifdef __MyOS__ in the
tree, not more.  Just adding #ifdef CLOCK_MONOTONIC_COARSE should be
enough.  You'll need that anyway to support older versions of Linux.


More information about the xorg-devel mailing list