3 ms·
"Node (libuv) only uses the thread pool as a last resort." When did you last read deps/uv/src/win/fs.c or deps/uv/src/unix/fs.c? If by "last resort" you mean
by jorangreef 8y ago
"Node (libuv) only uses the thread pool as a last resort."
When did you last read deps/uv/src/win/fs.c or deps/uv/src/unix/fs.c?
If by "last resort" you mean 99.9% of all async fs tasks, then I would agree with you.
- coder543 8y agoisn't that because OSes have broken async filesystem APIs that can't be trusted? But network requests (like dns) have well defined APIs for async, and should never be required to block a thread, and therefore do not need a threadpool.
- deleted 8y ago[deleted]