From owner-freebsd-arch Thu Dec 27 11:20:23 2001 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 496DC37B41C for ; Thu, 27 Dec 2001 11:20:04 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id C333A81E0B; Thu, 27 Dec 2001 13:19:53 -0600 (CST) Date: Thu, 27 Dec 2001 13:19:53 -0600 From: Alfred Perlstein To: Julian Elischer Cc: arch@freebsd.org Subject: Re: the condvar stuff. Message-ID: <20011227131953.C55891@elvis.mu.org> References: <20011227040146.A55891@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Thu, Dec 27, 2001 at 09:26:48AM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Julian Elischer [011227 11:40] wrote: > > > On Thu, 27 Dec 2001, Alfred Perlstein wrote: > > > > For now you should just consider using the existing mechanisms, > > something like a posted signal and not worry about the uninterruptable > > sleeps. > > That's what I'm doing.... Good, I don't want you killing yourself working on this, we need you around to help flush out the bugs. :) > > > Basically one of the changes I'll be doing in the KSE tree > > > as that all msleeps and cv waits and sx waits and mutx waits have > > > to either be identifiable as uninterruptable, or ba capable of > > > being interrupted (so at least the next layer can catch it and back out). > > > > Yes, this is what PCATCH is for. > > I know, I'm just dissapointed at the ease that I have in finding cases > where all I can do is wait... > :-/ It's UNIX dude. :) If you use the existing PCATCH/cv_sig (at least for now) you'll be all good and a lot cleaner than fixing all the places with uninterruptable sleeps. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message