comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@arcor.de>
Subject: Re: real_time.clock is not monotonic
Date: Wed, 21 Feb 2007 20:46:24 +0100
Date: 2007-02-21T20:44:26+01:00	[thread overview]
Message-ID: <1172087184.5771.3.camel@localhost> (raw)
In-Reply-To: <1172074608.834181.198540@j27g2000cwj.googlegroups.com>

On Wed, 2007-02-21 at 08:16 -0800, frederic.ormancey@atosorigin.com
wrote:
> in Linux implementation of Gnat RunTime, Monotonic_Clock is a
> single rename of calendar.clock, which use gettimeofday() system
> call !!!!
> 
> I'll alert Gnat community with this bad implementation, as
> gettimeofday() is affected by NTP and others date adjustements. in
> LRM, Ada.Real_Time.Clock shall be monotonic => Gnat runtime is not
> compliant

What is a possible alternative when making calls to a garden
variety Linux kernel?  Is there real-time POSIX support in
"normal" Linux based systems?


> This bug was detected with 3.15p Linux version, but implementation is
> still the same with latest source of gnat runtime (s-osprim.adb).
> 
> Did someone have a solution for this problem ? another implementation
> using a Linux monotonic clock ?






  reply	other threads:[~2007-02-21 19:46 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 16:16 real_time.clock is not monotonic frederic.ormancey
2007-02-21 19:46 ` Georg Bauhaus [this message]
2007-02-21 20:33   ` Michael Bode
2007-02-21 20:17 ` Simon Wright
2007-02-22  9:50   ` Duncan Sands
2007-02-22 10:34     ` Simon Wright
2007-02-22 10:53       ` Duncan Sands
2007-02-22 20:48         ` Simon Wright
2007-02-26  8:50   ` Florian Weimer
2007-02-26 20:59     ` Simon Wright
2007-02-22  2:05 ` Adam Beneschan
2007-02-22  2:34   ` Randy Brukardt
2007-02-22  3:19     ` Adam Beneschan
2007-02-22 11:04     ` [OT] Broken threading (was RE: real_time.clock is not monotonic) Alex R. Mosteo
2007-02-22 11:39       ` Georg Bauhaus
2007-02-22 14:52         ` Alex R. Mosteo
2007-02-23  0:43       ` Randy Brukardt
2007-02-23 10:11         ` Alex R. Mosteo
2007-02-25  0:39           ` [OT] Broken threading Björn Persson
2007-02-26  8:50             ` Alex R. Mosteo
2007-02-27  0:13             ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox