Improves performance when this feature is enabled.
Requires a recent Linux kernel.
We should maybe make all "version" of Kvarn single-threaded, to keep consistency? We could also use Rc in some places. Rc and RefCell wouldn't change a lot, since the hosts are still multi-threaded. And it would be impossible to bind the same socket from multiple threads on Windows. And dropping windows support isn't on my todo-list.
Improves performance when this feature is enabled. Requires a recent Linux kernel.
We should maybe make all "version" of Kvarn single-threaded, to keep consistency? We could also use Rc in some places.Rc and RefCell wouldn't change a lot, since the hosts are still multi-threaded. And it would be impossible to bind the same socket from multiple threads on Windows. And dropping windows support isn't on my todo-list.