(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

@ -2,6 +2,10 @@
All changes to this project will be documented in this file.
## [10.3.0] - 2020-08-26
(ws) set the main thread name, to help with debugging in XCode, gdb, lldb etc...
## [10.2.9] - 2020-08-19
(ws) cobra to python bot / take a module python name as argument foo.bar.baz instead of a path foo/bar/baz.py

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "10.2.9"
#define IX_WEBSOCKET_VERSION "10.3.0"

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) {