kern/131597: [kernel] c++ exceptions very slow on FreeBSD
7.1/amd64
Tijl Coosemans
tijl at coosemans.org
Tue Sep 14 09:40:04 UTC 2010
The following reply was made to PR kern/131597; it has been noted by GNATS.
From: Tijl Coosemans <tijl at coosemans.org>
To: jhb at freebsd.org
Cc: bug-followup at freebsd.org, guillaume at morinfr.org, kan at freebsd.org,
davidxu at freebsd.org, kostikbel at 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."
More information about the freebsd-bugs
mailing list