From owner-freebsd-hackers Fri Sep 28 8:19:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tabby.sonn.com (tabby.sonn.com [206.79.239.6]) by hub.freebsd.org (Postfix) with ESMTP id 37F2C37B40F for ; Fri, 28 Sep 2001 08:19:48 -0700 (PDT) Received: from localhost (gersh@localhost) by tabby.sonn.com (8.9.3/8.9.3) with ESMTP id IAA80668; Fri, 28 Sep 2001 08:35:18 -0700 (PDT) Date: Fri, 28 Sep 2001 08:35:17 -0700 (PDT) From: Gersh To: Bernd Walter Cc: Anjali Kulkarni , freebsd-hackers@FreeBSD.ORG Subject: Re: setjmp/longjmp In-Reply-To: <20010928160725.D11634@cicely20.cicely.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Look at sys/i386/i386/db_interface.c On Fri, 28 Sep 2001, Bernd Walter wrote: > On Fri, Sep 28, 2001 at 07:03:51PM +0530, Anjali Kulkarni wrote: > > hi, > > Does anyone know whether it is advisable or not to use setjmp/longjmp within kernel code? I could not see any setjmp/longjmp in kernel source code. Is there a good reason for this or can it be used? > > You need to look again, it's used in several places in the kernel. > > -- > B.Walter COSMO-Project http://www.cosmo-project.de > ticso@cicely.de Usergroup info@cosmo-project.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message