We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc6376 commit 736ff5dCopy full SHA for 736ff5d
src/inspector_io.cc
@@ -283,6 +283,11 @@ void InspectorIo::ThreadMain(void* io) {
283
}
284
285
void InspectorIo::ThreadMain() {
286
+ int thread_name_error = uv_thread_setname("InspectorIo");
287
+ if (!thread_name_error) [[unlikely]] {
288
+ per_process::Debug(node::DebugCategory::INSPECTOR_SERVER,
289
+ "Failed to set thread name for Inspector\n");
290
+ }
291
uv_loop_t loop;
292
loop.data = nullptr;
293
int err = uv_loop_init(&loop);
0 commit comments