• Alex Brainman's avatar
    runtime: increase windows prof thread priority sooner · 2c780a35
    Alex Brainman authored
    If system is busy burning cpu, it takes long time (about 300ms on
    windows builders) to adjust prof thread priority. Once adjusted, prof
    thread runs ahead of everyone else, but due to initial slowness, it
    does not capture prof snapshots until start-up period is completed.
    
    Change prof thread priority sooner, so it can start captures straight
    away.
    
    LGTM=dvyukov
    R=golang-codereviews, dvyukov
    CC=golang-codereviews
    https://golang.org/cl/134360043
    2c780a35
os_windows.c 16.4 KB