From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 15 12:16:18 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 223FB16A4CE for ; Fri, 15 Apr 2005 12:16:18 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BAB243D64 for ; Fri, 15 Apr 2005 12:16:17 +0000 (GMT) (envelope-from dipjyoti.saikia@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so675659wra for ; Fri, 15 Apr 2005 05:16:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bBTQmcuCHW9vREO2giXeAllMc9hYSBI/sxZ++XZMS5Ql0xAor7+JxUTts9OmHkS2Ib4NA9xKiDzkecUxJ+9RHu579Vo8eUbbY2hKHqRsJLA5UXpGMAdeYyOPf36jK15yoG67uzGr8KDQLWCsGseHaLkJfSFFQVN5bBStc+XdUjs= Received: by 10.54.40.34 with SMTP id n34mr1802456wrn; Fri, 15 Apr 2005 05:16:16 -0700 (PDT) Received: by 10.54.35.75 with HTTP; Fri, 15 Apr 2005 05:16:16 -0700 (PDT) Message-ID: Date: Fri, 15 Apr 2005 17:46:16 +0530 From: Dipjyoti Saikia To: Brooks Davis In-Reply-To: <20050412212044.GA9284@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050412212044.GA9284@odin.ac.hmc.edu> cc: freebsd-hackers@freebsd.org Subject: Re: MDELAY() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dipjyoti Saikia List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 12:16:18 -0000 Hi, DELAY() in FreeBSD uses a busy loop . I am looking for something like sleep_on_timeout() call in Linux . (dont' want to waste the CPU cycles by DELAY'ing) As I am pretty new to programming with Free BSD , can you help me with some details about equivalent implementation(wait queues etc) in Free BSD . ---Dip On 4/13/05, Brooks Davis wrote: > On Wed, Apr 13, 2005 at 02:33:22AM +0530, Dipjyoti Saikia wrote: > > Hi, > > > > Can any one help me out with a better Implementation of MDELAY() in > > FreeBSD kernel 4.10 >=20 > Please start by defining better. >=20 > -- Brooks >=20 > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 >=20 >=20 >