From owner-freebsd-hackers Fri Jan 16 23:44:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11075 for hackers-outgoing; Fri, 16 Jan 1998 23:44:21 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11049 for ; Fri, 16 Jan 1998 23:44:02 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id SAA04409; Sat, 17 Jan 1998 18:13:48 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id SAA24752; Sat, 17 Jan 1998 18:13:44 +1030 (CST) (envelope-from grog) Message-ID: <19980117181344.38652@lemis.com> Date: Sat, 17 Jan 1998 18:13:44 +1030 From: Greg Lehey To: Terry Lambert Cc: hackers@FreeBSD.ORG Subject: Re: Why no sys/setjmp.h? References: <19980116123904.45753@lemis.com> <199801170714.AAA26193@usr01.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199801170714.AAA26193@usr01.primenet.com>; from Terry Lambert on Sat, Jan 17, 1998 at 07:14:47AM +0000 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk On Sat, Jan 17, 1998 at 07:14:47AM +0000, Terry Lambert wrote: >> I can't see a way of using them in this environment. I'm in the top >> half of a driver, where things are more like in user space. > > You can't use them between top half and bottom half. That's the point. Why should that be the point? You're making assumptions despite the fact that I've indicated that this isn't the way I'm using them. >>> Finally, the purpose of these functions is to allow the throwing of >>> exceptions, and the kernel has it's own exception mechanisms. >> >> Which are? That was my question. > > I thought I answered this... tsleep/wakeup. You mentioned the names. You didn't (and IMO can't) indicate how they'd solve the problem I described. Greg