Why should I use a thread vs using a process?
Posted
by danmine
on Stack Overflow
See other posts from Stack Overflow
or by danmine
Published on 2009-03-06T06:02:10Z
Indexed on
2010/03/12
12:37 UTC
Read the original article
Hit count: 180
multithreading
|process
I'm a newbie at this so please forgive me for my ignorance. Separating different parts of a program into different processes seems (to me) to make a more elegant program then just threading everything. In what scenario would it make sense to make things run on a thread vs separating the program into different processes? When should I use a thread?
Edit:
Anything on how (or if) they act differently with single core and multi core would also be helpful.
© Stack Overflow or respective owner