开发者

Does process start use another thread?

开发者 https://www.devze.com 2023-01-26 16:27 出处:网络
I want to know when using Process.Start() whether a new thread is started? If a new thread is started, this thread,开发者_JAVA百科 can we control it as foreground or background?A new thread is not cre

I want to know when using Process.Start() whether a new thread is started? If a new thread is started, this thread,开发者_JAVA百科 can we control it as foreground or background?


A new thread is not created. A new process is (although technically speaking all processes have at least one thread).


No additional thread is created within the current process - at least not any managed thread that would be visible to you.


Process and Thread, although related, are very different. Have a look at What is the difference between a process and a thread?

0

精彩评论

暂无评论...
验证码 换一张
取 消