Re: [RFC] [PATCH] C exceptions in kernel

David B. Stevens (dsteven3@maine.rr.com)
Fri, 22 Feb 2002 17:34:35 -0500


Dan,

Don't let'em get to ya, they are having a time warp problem.

Finally a method of preventing oops'es.

Cheers,
Dave

Dan Aloni wrote:
>
> The attached patch implements C exceptions in the kernel, which *don't*
> depend on special support from the compiler. This is a 'request for
> comments'. The patch is very initial, should not be applied.
>
> I actually got this code to work in the kernel:
>
> try {
> printk("TEST: before throwing \n");
> throw(1000);
> printk("TEST: won't run\n");
> }
> catch(unsigned long, value) {
> printk("TEST: caught: %ld\n", value);
> } yrt;
-
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/