Re: Updating callout_reset
From: Mike Silbersack (silby_at_silby.com)
Date: 01/26/04
- Previous message: Poul-Henning Kamp: "Re: Updating callout_reset"
- In reply to: Poul-Henning Kamp: "Re: Updating callout_reset"
- Next in thread: Poul-Henning Kamp: "Re: Updating callout_reset"
- Reply: Poul-Henning Kamp: "Re: Updating callout_reset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 01:42:44 -0600 (CST) To: Poul-Henning Kamp <phk@phk.freebsd.dk>
On Mon, 26 Jan 2004, Poul-Henning Kamp wrote:
> No, not timespec.
>
> Timespecs are stupid, slow, clumsy and unhandy and cumbersome.
>
> With a timespec you either need an MPunsafe hack function like
> libevents evConsTime() or a local stack variable.
>
> Make it a 64bit count of nanoseconds instead that way it can be
> used as a literal constant.
>
> It's OK with me if we want to have a function to contain the "*
> 1000000000LL" factor for us, and maybe even convenience functions
> for milli and microseconds.
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
Ah, that would work better. I guess this getting ideas reviewed process
does help. :)
Do we have a preexisting name for the "64bit nanoseconds" type?
Mike "Silby" Silbersack
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: Updating callout_reset"
- In reply to: Poul-Henning Kamp: "Re: Updating callout_reset"
- Next in thread: Poul-Henning Kamp: "Re: Updating callout_reset"
- Reply: Poul-Henning Kamp: "Re: Updating callout_reset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]