(ws) set the main thread name, to help with debugging in XCode, gdb, lldb etc...

This commit is contained in:
Benjamin Sergeant
2020-08-26 13:38:45 -07:00
parent ed5c63144e
commit 08640d877f
3 changed files with 6 additions and 1 deletions

View File

@ -2728,6 +2728,7 @@ namespace ix
int main(int argc, char** argv)
{
setThreadName("ws main thread");
ix::initNetSystem();
ix::CoreLogger::LogFunc logFunc = [](const char* msg, ix::LogLevel level) {