a proposed callout API
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Nov 29 02:21:53 PST 2006
In message <20061128231010.cbdc4e1d.rnsanchez at wait4.org>, Ricardo Nabinger Sanc
hez writes:
>On Tue, 28 Nov 2006 16:31:18 -0500
>John Baldwin <jhb at freebsd.org> wrote:
>
>> I had intended on using microseconds
>> with a negative value indicating a relative timeout (so an 'uptime'
>> timeout, i.e. trigger X us from now) and a positive value indicating an
>> absolute timeout (time_t-ish, and subject to ntp changes).
>
>Just some devil's advocate thoughts...
>
>What are the advantages of encoding some semantic in one or two bits of the
>argument, instead of passing another word with flags?
The bits _will_ go in the flags argument I proposed.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list