Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Wolfgang Mauerer
Hi, On 02.12.2009, at 23:20, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Wolfgang Mauerer wrote: Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: I surely don't want to duplicate ntp code, just the results it spits out (e.g. into the vdso

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: The kernel need to synchronize with user land, so the problem is (almost) the same as with obtaining the original data from Linux directly: user land can only use a retry or a smart fall-back mechanism to obtain consistent data. Well, ok, I imagine something like a

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Wolfgang Mauerer
Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that you would accept probabilistic algorithms in realtime context? Ah, today's troll! though it seems that I have to replace Jan this time ;-) As I think I explained, the use of a seqlock in real-time

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that you would accept probabilistic algorithms in realtime context? Ah, today's troll! though it seems that I have to replace Jan this time ;-) As I think I explained, the use

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Wolfgang Mauerer
Hi, On 03.12.2009, at 14:14, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Wolfgang Mauerer wrote: Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that you would accept probabilistic algorithms in realtime context? Ah, today's troll!

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: Hi, On 03.12.2009, at 14:14, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Wolfgang Mauerer wrote: Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that you would accept probabilistic algorithms in realtime

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Wolfgang Mauerer
Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: Hi, On 03.12.2009, at 14:14, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Wolfgang Mauerer wrote: Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that you would accept

Re: [Xenomai-core] Realtime gettimeofday()

2009-12-03 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: Hi, On 03.12.2009, at 14:14, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Wolfgang Mauerer wrote: Hi, Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: So that means, in essence, that