Re: threading / timers / etc
- From: Andy Spencer <andy753421 gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: threading / timers / etc
- Date: Sat, 23 Oct 2010 01:57:17 +0000
On 2010-10-22 17:06, Ryan Lortie wrote:
> - We will add GTimeSpec which is GTimeVal using nanoseconds instead
> of microseconds (same story with struct timeval vs. struct
> timespec). The librt interfaces provide this level of accuracy so
> it would be a shame to needlessly discard it.
So now we have seconds, microseconds, and nanoseconds? I'm sure this is
all for compatibility with librt, but maybe we could cut to the chase,
use a guint64, and represent it as attoseconds? If we do the same for
seconds (gint64) we could conveniently represent any currently
measurable time interval in the known universe.. and then avoid adding
something involving picoseconds in a few more years.
Bonus points if it makes consistent use of leap seconds.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]