svn commit: r293022 - head/sys/net80211
John Baldwin
jhb at freebsd.org
Mon Jan 4 15:47:44 UTC 2016
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.)
--
John Baldwin
More information about the svn-src-all
mailing list