|
|
|
|
|
by zaarn
2934 days ago
|
|
Processes might be more expensive but they do have advantages. If you do use a lot of CPU time, spawning a process instead of a thread might not have any noticeable impact at all. Additionally, IPC isolates the process, meaning it can be more resistant to hostile takeover (if you drop privs correctly) and additionally you avoid any and all shared state that could possible result in unforeseen bugs. |
|