On Sat, 28 Apr 2001, Ville Herva wrote:
> Uhh, perhaps I'm stupid, but why not cache the date field and update
> the field once a five seconds? Or even once a second?
perhaps the best way would be to do this updating in the sending code
itself.
first there would be a 'current time thread', which updates a global
shared variable that shows the current time. (ie. no extra system-call is
needed to access current time.) If the header-sending code detects that
current time is not equal to the timestamp stored in the header itself,
then the header is reconstructed. Pretty simple.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- X15 alpha release: as fast as TUX but in user space Fabio Riccardi
- Re: X15 alpha release: as fast as TUX but in user spa... Aaron Lehmann
- Re: X15 alpha release: as fast as TUX but in user spa... David S. Miller
- Re: X15 alpha release: as fast as TUX but in user... Fabio Riccardi
- Re: X15 alpha release: as fast as TUX but in user spa... Ingo Molnar
- Re: X15 alpha release: as fast as TUX but in user... Ville Herva
- Re: X15 alpha release: as fast as TUX but in ... Ingo Molnar
- Re: X15 alpha release: as fast as TUX but in ... Ingo Molnar
- Re: X15 alpha release: as fast as TUX but... Ville Herva
- Re: X15 alpha release: as fast as TU... Andi Kleen
- Re: X15 alpha release: as fast as TUX but in user... Fabio Riccardi
- Re: X15 alpha release: as fast as TUX but in ... dean gaudet
- Re: X15 alpha release: as fast as TUX but... David S. Miller
- Re: X15 alpha release: as fast as TUX but... Fabio Riccardi
- Re: X15 alpha release: as fast as TU... dean gaudet
- Re: X15 alpha release: as fast a... David S. Miller
- Re: X15 alpha release: as fast as TU... Ingo Molnar
- Re: X15 alpha release: as fast as TUX but in ... Ingo Molnar

