3 ms·
Precisely. Threads allow you to separate concerns better - one thread per task, rather than trying to process all tasks. Simon Marlow captured this well: http:
by dons 14y ago
Precisely. Threads allow you to separate concerns better - one thread per task, rather than trying to process all tasks.
Simon Marlow captured this well: http://stackoverflow.com/a/3858684/83805 http://stackoverflow.com/a/3858684/83805
"the abstractions that threads provide are essential for making server code easier to get right, and more robust"