Skip to content
  • chengx's avatar
    Use Windows 10 thread naming API, SetThreadDescription · f6988f8f
    chengx authored
    Starting from version 1607 of Windows 10, there is a SetThreadDescription
    API for setting thread names. This API has several advantages over
    the SetNameInternal function which is currently used to set thread
    names in Chrome.
    
    The only issue with this new API is that there is no tool support
    for it yet. However, once tool support catches up, it should give
    a better thread naming experience.
    
    A command-line tool "ShowThreadNames" for testing this
    SetThreadDescription API has been developed and checked in using
    another CL. It can be found via
    https://codereview.chromium.org/2713773002
    
    BUG=684203
    
    Review-Url: https://codereview.chromium.org/2692213003
    Cr-Commit-Position: refs/heads/master@{#452653}
    f6988f8f