From owner-freebsd-current@FreeBSD.ORG Sun Mar 15 13:22:06 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B8171065694 for ; Sun, 15 Mar 2009 13:22:06 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id AD0278FC22 for ; Sun, 15 Mar 2009 13:22:05 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-009-074.pools.arcor-ip.net [88.66.9.74]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1LiqI01E9Y-0001VR; Sun, 15 Mar 2009 14:22:04 +0100 Received: (qmail 62558 invoked from network); 15 Mar 2009 13:22:03 -0000 Received: from fbsd8.laiers.local (192.168.4.200) by router.laiers.local with SMTP; 15 Mar 2009 13:22:03 -0000 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org, barney_cordoba@yahoo.com Date: Sun, 15 Mar 2009 14:22:02 +0100 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; ; ) References: <641422.62095.qm@web63907.mail.re1.yahoo.com> In-Reply-To: <641422.62095.qm@web63907.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903151422.03310.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18asctD0RVA0qRjXBYCPl6QhI2xwWNjEwX00NV 3TprJSnAqj4RHmWVFlCQ8gIet97aylybbjsgAaWwVdWL2JoGuK QOizFxgZFOApDfNFjfaWg== Cc: Subject: Re: Is there a delay which yields? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 13:22:06 -0000 On Sunday 15 March 2009 14:02:23 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)? You might be looking for pause(9) - though I'm not sure what you mean by "without having to use a timer". -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News