Setjmp/Longjmp in the kernel?

John W. M. Stevens (john@betelgeuse.us)
Sun, 9 Feb 2003 15:10:44 -0700


Greetings,

I ported an Object Oriented infrastructure to work with the Linux
kernel about two years ago. For various reasons, that work was
dropped for a while. Now, upon picking it back up again, there
are some new features that were not present in the original port
that I need to support.

Among these is a simple exception support system. The core
of this system is based on the existence of a setjmp/longjmp
facility. In digging through the source code, I've found a
few, architechturally specific implementations of such a
facility, but no generalized, multi-platform support.

A FAQ I found seems to suggest this deliberate, and that such
support will not ever be added to Linux. Am I correct in
my understanding? If so, is an architechturally specific
implementation (such as was done for ppc) acceptable?

Thanks,
John S.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/