Date: Sun, 15 Mar 2009 10:16:43 -0700 From: Julian Elischer <julian@elischer.org> To: barney_cordoba@yahoo.com Cc: current@freebsd.org Subject: Re: Is there a delay which yields? Message-ID: <49BD37FB.7060101@elischer.org> In-Reply-To: <641422.62095.qm@web63907.mail.re1.yahoo.com> References: <641422.62095.qm@web63907.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > Barney > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49BD37FB.7060101>