Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 08:21:58 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r293022 - head/sys/net80211
Message-ID:  <CAJ-VmokVNzqvsvYUZKgAZPs6wgdLoWgFwixnafRc9WP_wqj0Bg@mail.gmail.com>
In-Reply-To: <2558363.cYPdmfTgJ4@ralph.baldwin.cx>
References:  <201601010021.u010L7sW006625@repo.freebsd.org> <5919271.R3YaC4QkYh@ralph.baldwin.cx> <CAJ-VmokF3EW9QDmScGFhRWjQ3a8Z4QF0YQyragPHUs48zb6DHg@mail.gmail.com> <2558363.cYPdmfTgJ4@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 January 2016 at 07:47, John Baldwin <jhb@freebsd.org> wrote:
> On Friday, January 01, 2016 07:41:42 PM Adrian Chadd wrote:
>> yup. all  of this is ... terrible atm.
>>
>> I do need to be able to give a bounds though. :(
>
> The _sbt variants let you specify a bounds for the "fuzzy".  You
> give the deadline time as one value ('sbt') and an upper bound on
> how long to delay extra as the second ('pr').  The wait will
> timeout sometime between 'sbt' and 'sbt + pr'.
>
> Alternatively, you can leave 'pr' as 0 and encode the precision
> via the C_PREL() flags instead as described in callout(9).  (I
> think how to use sbintime_t should probably be broken out into
> a separate sbintime(9) manpage that callout(9) and other consumers
> reference rather than being buried in callout(9) to make it easier
> to figure out how to use these.  The same manpage can also talk
> about the SBT_* constants and how to generate sbintime_t values
> from known reference times.)

I dug into it a few months ago and found it was .. not quite as bounded fuzzy :(


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokVNzqvsvYUZKgAZPs6wgdLoWgFwixnafRc9WP_wqj0Bg>