Date: Mon, 26 Mar 2007 16:31:29 +0200 From: deeptech71@gmail.com To: freebsd-chat@FreeBSD.ORG Subject: Re: 64bit timestamp Message-ID: <4607D941.30600@gmail.com> In-Reply-To: <200703261102.l2QB2lKL008129@lurza.secnetix.de> References: <200703261102.l2QB2lKL008129@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote: > deeptech71@gmail.com wrote: >> but server-client apps, such as games, where 32bit integer timers >> must be restarted every 3 weeks > > I don't understand qwhat you're saying there. Why do they > have to be restarted every three weeks? I don't see a > reason for that. If an application (game or other, doesn't > matter) requires time stamps with certain properties, then > they should use appropriate types for it. If it doesn't, > then it's a bug in that application. > > The operating system should only provide ways to retrieve > sufficiently accurate time stamps. It's the responsibility > of the applications to use and store them appropriately, > according to their equirements. 32bit int, 4294967296 values, 1000 CLOCKS_PER_SEC (millisecond accuracy), that's approximately 3 weeks (ok, 6 weeks if unsigned), rewinding timers without client notification (server restart) causes error. dont wanna go into deeper explanation...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4607D941.30600>