RE: Unhandled Exceptions?

"Jan Stoess" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>

> -----Original Message-----
> From: [email protected] [mailto:[email protected]
> karlsruhe.de] On Behalf Of Steffen Knoth
> Subject: Re: Unhandled Exceptions?
>
>

> Is the exception handler
> of a thread of use at all in the current implementation?
Yes it is. For IA-32, have a look the code in
kernel/src/glue/v4-ia32/exception.cc, specifically at the
send_exception_ipc() routine.

> Is the
> implementation planned for a future release?
I think it's just a matter of implementing exc_catch() properly; apparently
just nobody has yet required that for some types of exceptions. So it's
"planned" in the sense that somebody will fix it eventually :)

> Well, at least I can stop planning to experiment with exception
> handling on L4 Pistachio.

I wouldn't say that you'd have to stop all further planning. IA32 #GP's, for
instance, are implemented; if you just want to test how exception handling
works, raise such exceptions and everything will be "fine". Also, as I said,
my guess is that implementing the other cases shouldn't be rocket science as
well.

-Jan
smime.p7s (application/x-pkcs7-signature, 3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.