问题描述
Runtime Host的确切定义是什么?
What is the exactly definition of Runtime Host?
:
如何在任务管理器中检查它?
So is it a process which loads the runtime into another process?
How do I check it in Task Manager?
推荐答案
否,这是一个将运行时DLL(例如mscoree.dll等)加载到其进程空间中的进程。
No, it's a process that loads the runtime DLLs ( e.g. mscoree.dll, etc ) into its process space.
因此只有1个进程空间。
So there is only 1 process space.
所指的运行时实际上是.Net运行时或CLR。从简化的传统OS的角度来看,CLR实际上只是一组DLL。因此,您需要一个OS进程来加载和执行该DLL的入口点。此 hosting 可执行文件是您的运行时主机。实际上,.Net运行时主机会为CLR做很多事情(请参见)
The runtime that is referred to is really the .Net runtime or CLR. And from a simplified traditional OS point of view, the CLR is really just a set of DLLs. So, you need a OS process to load and execute the entry point of that DLL. This hosting executable is your runtime host. In reality the .Net runtime host does a lot of things for the CLR ( See Hosting Overview )
您提到了MSDN,所以我想您已经看过。您可以看到它们提供的示例都是托管CLR(DLL)的所有可执行文件。
You mentioned MSDN, so I guess you've looked at Runtime Hosts on there. You can see the examples they give are all executables that host the CLR ( DLLs ).
希望有帮助。
这篇关于确切的运行时主机是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!