Re: 64bit timestamp
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...
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 11 之 16 篇):