Any process can be divided into multiple

Skill/Topic: Advanced
A) Programs
B) Threads
C) Application domains

Editorial / Best Answer

LordAlex  

  • Member Since Nov-2011 | Nov 5th, 2011


Application domains are typically created by runtime host( i.e. Windows process/program). Application domains provide an isolation boundary for security,.... .NET program is an Assembly loading into an Application domain. Threads are the operating system construct used by the common language runtime to execute code in Application domains. Therefore, for .NET, Process (runtime host) -> Application Domains -> Assemblies (.NET programs)-> Managed Threads.

Showing Answers 1 - 36 of 36 Answers

cocomany

  • Mar 14th, 2006
 

It's actually Application Domains. Application Domains in turn can contain one or more threads.

  Was this answer useful?  Yes

EugeneZolotko

  • Sep 5th, 2006
 

I think it is a little bit ambigous question. From the OS point of view, the threads is correct.

  Was this answer useful?  Yes

chashchamp

  • Dec 21st, 2007
 

question is bit ambiguous.
If it is asked as : Win process can be divided on to what ? then the answer is application domain.
But a process as a program i.e.
A .net program/process can be divided in to what? then the answer would bee thread.

Overall the questin needs to be reframed for ease, but a .net guru should pick up the clue from the question.

  Was this answer useful?  Yes

Sanjida123

  • Jun 4th, 2010
 

Process is nothing but a program.

Process cannot be divided into multiple program, thread or appdomains.

In a process, you can launch another process using Process class. You can create multiple Threads and AppDomains in a single process.

  Was this answer useful?  Yes

Sanjida123

  • Jun 4th, 2010
 

At the time of exe bootstrap, CLR creats 3 Application Domains.  Out of these there one is responsible to run the code in it's boundary.  Here a programmer can create multiple thread to accomplish the work.

  Was this answer useful?  Yes

LordAlex

  • Nov 5th, 2011
 

Application domains are typically created by runtime host( i.e. Windows process/program).

Application domains provide an isolation boundary for security,....

.NET program is an Assembly loading into an Application domain.

Threads are the operating system construct used by the common language runtime to execute code in Application domains.

Therefore, for .NET, Process (runtime host) -> Application Domains -> Assemblies (.NET programs)-> Managed Threads.

  Was this answer useful?  Yes

Sivavt

  • Mar 25th, 2012
 

App domains.

This could be best understood by taking an example of a browser program. A browser may run multiple web applications simultaneously. All these could be run in separate app domains. So, individual web apps can be closed. Even if a web app crashes, it doesn't affect the other apps in browser.

Thread is independent of app domain.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions