I want to know when using Process.Start() whether a new thread is started? If a new thread is started, this thread, can we control it as foreground or background?
Asked
Active
Viewed 1,048 times
3
RobV
- 26,967
- 10
- 74
- 115
user496949
- 79,431
- 144
- 301
- 419
-
See this question on altering the priority of a process started using `Process.Start` - http://stackoverflow.com/questions/1374817/how-do-i-start-a-process-with-idle-priority-in-net - which may be relevant to the second part of your question – RobV Nov 23 '10 at 11:02
3 Answers
4
A new thread is not created. A new process is (although technically speaking all processes have at least one thread).
Tim Lloyd
- 37,204
- 10
- 98
- 129
1
No additional thread is created within the current process - at least not any managed thread that would be visible to you.
Joe Albahari
- 29,059
- 6
- 78
- 88
1
Process and Thread, although related, are very different. Have a look at What is the difference between a process and a thread?
Community
- 1
- 1
Greg Sansom
- 19,757
- 6
- 56
- 75