Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10777

set name for internal threads

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None

      Hi. I wonder whether we can set name for wiredtiger internal threads, which is good for debugging tools such as pstack, gdb, flamegraph.

       

      If it sounds good, can I do it with pthread_setname_np call within those core threads ? 

      I find it seems not be convenient for passing name to __wt_thread_create.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            baiwfg2@gmail.com Chan Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: