This is helpful when debugging, especially with all of the IO worker threads created by the asio-based socket code.
The APIs for setting thread names are really platform-specific, so this adds a wrapper function that supports Windows, Linux, and Apple platforms. (Only the Windows version has been tested so far.)
This is helpful when debugging, especially with all of the IO worker threads created by the asio-based socket code.
The APIs for setting thread names are really platform-specific, so this adds a wrapper function that supports Windows, Linux, and Apple platforms. (Only the Windows version has been tested so far.)