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

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


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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:46 EST