4 ms·
We could use the thread pool for blocking primitives and otherwise use the native AIO primitives, couldn't we? And the higher throughput seemed only to be a pr
by albertzeyer 12y ago
We could use the thread pool for blocking primitives and otherwise use the native AIO primitives, couldn't we?
And the higher throughput seemed only to be a problem on MacOSX, so we could fallback to the thread pool there, but use the async IO on Windows and Linux.
- laggyluke 12y agoI thought that's basically what libuv does: it uses AIO on platforms that support it, falling back to thread pool on platforms that don't. Edit: apparently I was wrong.