The following reply was made to PR kern/131597; it has been noted by GNATS.

From: Tijl Coosemans <t...@coosemans.org>
To: j...@freebsd.org
Cc: bug-follo...@freebsd.org, guilla...@morinfr.org, k...@freebsd.org,
        davi...@freebsd.org, kostik...@gmail.com
Subject: Re: kern/131597: [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64
Date: Tue, 14 Sep 2010 11:35:48 +0200

 On Thu, Jul 08, 2010 at 11:29:50AM -0400, John Baldwin wrote:
 > ...longjmp(3) isn't safe in a signal context...
 
 POSIX says it's supposed to be safe:
 
   "As it bypasses the usual function call and return mechanisms,
   longjmp() shall execute correctly in contexts of interrupts, signals,
   and any of their associated functions. However, if longjmp() is
   invoked from a nested signal handler (that is, from a function
   invoked as a result of a signal raised during the handling of another
   signal), the behavior is undefined."
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to