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

From: Tijl Coosemans <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected],
        [email protected], [email protected]
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."
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to