Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 10:12:14 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Gersh <gersh@sonn.com>
Cc:        Bernd Walter <ticso@mail.cicely.de>, Anjali Kulkarni <anjali@indranetworks.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: setjmp/longjmp
Message-ID:  <Pine.BSF.4.21.0109281010570.71138-100000@InterJet.elischer.org>
In-Reply-To: <Pine.BSF.4.21.0109280834410.57111-100000@tabby.sonn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah but it would probably be a pretty bad idea to use it without very
careful thought. 
Especialy with the kernel becoming pre-emptable in the future..


On Fri, 28 Sep 2001, Gersh wrote:

> 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
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109281010570.71138-100000>