[okl4-developer] Question on thread/partition management
Jean-Christophe DUBOIS
jcd at tribudubois.net
Thu Jul 24 21:46:21 EST 2008
Hi Guys,
If a thread in one partition "crashes" is there any way to be
notified about this in the "root partition". For example If the
wombat/linux kernel has a kernel fault (divide by zero or anything
similar), is it possible to get notified about it in the "root
partition". How easy is it to determine which thread did crash?
I guess the above notification/exception mechanism would not cover
all cases. In particular it might happen that one thread would just
hang without necessarily raising an exception (or it would handle the
said exception itself but would be in an unstable state after this).
So an alternative (and maybe necessary) solution would be to
implément some kind of "heartbeat" between the various
partitions/servers/threads.That seems easy enough ...
The next question is, assuming you have determined which partition
crashed, how do you "restart" the thread(s) of this failing partition
from the root partition for example? Is there an easy way to get
a
"clean" restart where all memory and environment is restored to the
initial state for this thread? More generaly is there a "service"
somewhere that would allow to load an ELF file dynamically in OKL4
(creating mempartion and all as required on the fly)?
Is this a supported scenario or are you better of restarting the all
thing (okl4 and everyting else)?
Thanks
JC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080724/ed54dba7/attachment.htm
More information about the Developer
mailing list