GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: use a default thread name for inspector · nodejs/node@736ff5d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • inspector_io.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/inspector_io.cc‎

Copy file name to clipboardExpand all lines: src/inspector_io.cc
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ void InspectorIo::ThreadMain(void* io) {
283283
}
284284

285285
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+
}
286291
uv_loop_t loop;
287292
loop.data = nullptr;
288293
int err = uv_loop_init(&loop);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.