serverbox
serverbox copied to clipboard
Make it possible to run `TaskScheduler` and `IOCore` in user's threads
Those classes must have a Run() method which anybody can run in any thread. Even in the main one. Similar to how boost::asio::io_context's run() method works. And naturally those must be stoppable then with a method like Stop() + Run() again.