3 ms·
I don't think it makes sense to call processes either higher or lower level than threads. Splitting your program into multiple processes often comes with many o
by tsimionescu 6y ago
I don't think it makes sense to call processes either higher or lower level than threads. Splitting your program into multiple processes often comes with many other drawbacks than spitting it into multiple threads. You can even still have data races if you use files or mmap to communicate between processes (you can also get something similar even with pipes/sockets for complex chunked data structures).
Even worse, there are very few, if any, tools that could help you analyze a multiprocess program for any kind of race conditions.
- pjmlp 6y agoWhen processes crash or corrupt memory they don't bring all the application down with them like threads, hence why security focused architectures have moved back to processes after the thread adoption hype.