set name for internal threads

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Chan Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: