• Russ Cox's avatar
    runtime: fix race detector running Go code on g0 of non-main thread · 649c8353
    Russ Cox authored
    It looks like this has just always been broken:
    the race detector handles running Go code on g0 of the main thread
    and on g0 of any extra threads created by non-Go code, but it does
    not handle running Go code on g0 of non-main threads created by Go.
    Handle that.
    
    Should fix the race build failures on the dashboard.
    
    We're running into this now because we are running more
    and more Go code on g0.
    
    TBR=dvyukov
    CC=golang-codereviews
    https://golang.org/cl/137910043
    649c8353
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...