From 08640d877f44cf0717d31a539eb49b951662cf53 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Wed, 26 Aug 2020 13:38:45 -0700 Subject: [PATCH] (ws) set the main thread name, to help with debugging in XCode, gdb, lldb etc... --- docs/CHANGELOG.md | 4 ++++ ixwebsocket/IXWebSocketVersion.h | 2 +- ws/ws.cpp | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index cb714b7f..4eae4f65 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -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 diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index 5df38a9c..2f84eb78 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "10.2.9" +#define IX_WEBSOCKET_VERSION "10.3.0" diff --git a/ws/ws.cpp b/ws/ws.cpp index 03da67b9..5f71717f 100644 --- a/ws/ws.cpp +++ b/ws/ws.cpp @@ -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) {