HighTechTalks DotNet Forums  

AppDomain crash isolation

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss AppDomain crash isolation in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ultimA
 
Posts: n/a

Default AppDomain crash isolation - 08-26-2006 , 06:45 AM






Hi!

Is there any way to stop crashing the default appdomain if there is an
unhandled exception in a secondary (child) appdomain? Writing unmanaged code
is ok.


Thanks for your help,
Károly

Reply With Quote
  #2  
Old   
ultimA
 
Posts: n/a

Default RE: AppDomain crash isolation - 08-28-2006 , 08:45 AM






I think I've got a theory, please tell me someone if this is correct or not:

AppDomains can have a hierarchy: If AppDomain A creates AppDomain B, then if
B crashes A will always crash too. But if there were two appdomains on the
same level of the hierarchy without having a common parent appdomain
(achievable via an unmanaged host which creates the two appdomains), then the
two appdomians would be totally independent: if one of them crasehd, the
other would stay alive.

Is this correct?

Reply With Quote
  #3  
Old   
Greg Young
 
Posts: n/a

Default Re: AppDomain crash isolation - 08-28-2006 , 04:08 PM



Do you mean on say an unhandled exception in the child domain?

"ultimA" <ultimA (AT) discussions (DOT) microsoft.com> wrote

Quote:
I think I've got a theory, please tell me someone if this is correct or
not:

AppDomains can have a hierarchy: If AppDomain A creates AppDomain B, then
if
B crashes A will always crash too. But if there were two appdomains on the
same level of the hierarchy without having a common parent appdomain
(achievable via an unmanaged host which creates the two appdomains), then
the
two appdomians would be totally independent: if one of them crasehd, the
other would stay alive.

Is this correct?



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.