Date: Tue, 14 Sep 2010 09:40:03 GMT From: Tijl Coosemans <tijl@coosemans.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/131597: [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64 Message-ID: <201009140940.o8E9e3dH040847@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131597; it has been noted by GNATS. From: Tijl Coosemans <tijl@coosemans.org> To: jhb@freebsd.org Cc: bug-followup@freebsd.org, guillaume@morinfr.org, kan@freebsd.org, davidxu@freebsd.org, kostikbel@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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009140940.o8E9e3dH040847>