3 ms·
I like to remember that threading APIs were a later add-on after Unix had already existed for years. They're not fundamental like the Process is. Isn't it an a
by frou_dh 5y ago
I like to remember that threading APIs were a later add-on after Unix had already existed for years. They're not fundamental like the Process is.
Isn't it an appealing model to not even have to talk about threads because every process is 1 thread by definition?
- astrange 5y agoMultiple processes are a bit easier to deal with than threads per servers - mostly because POSIX signals interacts poorly with threads. It's also more secure because you should not mix different users' requests in the same process if you can avoid it. nginx runs on a one process per core model and more or less does everything correctly.