From bc56b02e5ba93c44602a683b432d07dbd4d86721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Ritzl?= Date: Thu, 18 Mar 2021 18:31:57 +0100 Subject: [PATCH 1/2] Reduced thread name length pthread_setname_np() restricts thread name length to 16 characters. --- websocket/src/websocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket/src/websocket.cpp b/websocket/src/websocket.cpp index c24f27a..4d552dc 100644 --- a/websocket/src/websocket.cpp +++ b/websocket/src/websocket.cpp @@ -819,7 +819,7 @@ static dmExtension::Result OnUpdate(dmExtension::Params* params) emscripten_websocket_set_onclose_callback(ws, conn, Emscripten_WebSocketOnClose); emscripten_websocket_set_onmessage_callback(ws, conn, Emscripten_WebSocketOnMessage); #else - conn->m_ConnectionThread = dmThread::New((dmThread::ThreadStart)ConnectionWorker, 0x80000, conn, "WebSocketConnectionThread"); + conn->m_ConnectionThread = dmThread::New((dmThread::ThreadStart)ConnectionWorker, 0x80000, conn, "WSConnect"); #endif SetState(conn, STATE_CONNECTING); } From dfc94aa94a56bd27e0d30ff47052b64a6049bfff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Ritzl?= Date: Fri, 28 May 2021 11:36:58 +0200 Subject: [PATCH 2/2] Badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a934a6d..307e3a2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +[![Actions Status Alpha](https://github.com/defold/extension-websocket/actions/workflows/bob.yml/badge.svg)](https://github.com/defold/extension-websocket/actions) # Defold websocket extension