From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C2DF732.30906@domain.hid> Date: Fri, 02 Jul 2010 16:26:58 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1278071353-13836-1-git-send-email-wolfgang.mauerer@domain.hid> <1278071353-13836-8-git-send-email-wolfgang.mauerer@domain.hid> <4C2DF5D6.3030607@domain.hid> In-Reply-To: <4C2DF5D6.3030607@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [PATCH 7/7] posix: Add some example code for CLOCK_HOST_REALTIME List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Wolfgang Mauerer , xenomai@xenomai.org Jan Kiszka wrote: > Wolfgang Mauerer wrote: >> ... and for reading the contents of the hostrt data. >> > > Just realized: Please also update clocktest. Should already work with > the new clock ID, but requires a cosmetic output patch. Yes, I thought about that. Maybe even if clocktest uses the new clock_id, we could drop the example? I do not think it is a good idea to provide as an example code which uses the internals of the implementation (though it makes sense to use the implementation internals in the clocktest code). And if we remove that, only clock_gettime(CLOCK_HOST_REALTIME) remains, which does not seem to need an example. -- Gilles.