From owner-freebsd-hackers Fri Sep 28 7: 7: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 7794337B409 for ; Fri, 28 Sep 2001 07:06:57 -0700 (PDT) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f8SE6n617995; Fri, 28 Sep 2001 16:06:50 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f8SE7Qm12179; Fri, 28 Sep 2001 16:07:26 +0200 (CEST) Date: Fri, 28 Sep 2001 16:07:25 +0200 From: Bernd Walter To: Anjali Kulkarni Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: setjmp/longjmp Message-ID: <20010928160725.D11634@cicely20.cicely.de> References: <008601c14822$3b21bfc0$0a00a8c0@indranet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <008601c14822$3b21bfc0$0a00a8c0@indranet>; from anjali@indranetworks.com on Fri, Sep 28, 2001 at 07:03:51PM +0530 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc 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 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