On Wed, 2008-09-03 at 06:12 +0200, John Hay wrote:
> On Tue, Sep 02, 2008 at 11:29:01PM +0200, Bernd Petrovitsch wrote:
[...] 
> > I assume you mean the CLOCK_MONOTONIC "version".
> > Why not?
> 
> Yes.
> 
> > > part of IEEE Std 1003.1b-1993 (``POSIX.1'').
> > 
> > Sorry;-), but times(2) is also in SuSv3:
> > http://www.opengroup.org/onlinepubs/009695399/functions/times.html
> 
> Well I was not clear. I did not mean that times(2) was not well
> supported. Just that clock_gettime(2) might be widely available, if we

What I actually meant was more like: times(2) is also in
SuSv3/POSIX-whatever and has some defintion (and implementation) issues.
I hope clock_gettime(2) doesn't have some;-)

> are looking for alternatives. It also does not work in ticks, which
> might be useful or not depending on how one want to implement things.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




