Is there a delay which yields?
julian at elischer.org
Sun Mar 15 10:17:22 PDT 2009
Barney Cordoba wrote:
> I'd expect DELAY to yield till timeout but a task with a delay loop just
> runs to 100% usage. Is there a function which can yield exectution for
> a set amount of time (without having to use a timer)?
DELAY is designe for use early in the boot when thre are no timers.
it is only occasionally used for cases during normal operation.
how would a thread know how long it has been away if no timer is used?
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current