• Russ Cox's avatar
    libmach: fix new thread race with Linux · 323a116f
    Russ Cox authored
    If you look at the sequence of values returned
    by waitpid, it simply tells us about the child of
    clone before it tells us that the parent called clone.
    There's nothing we can do but assume unexpected
    tids are newly cloned children.
    
    Tested with 6prof on godoc.
    
    Fixes #251.
    
    R=r
    CC=golang-dev
    https://golang.org/cl/2167045
    323a116f
Name
Last commit
Last update
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...
README Loading commit data...
favicon.ico Loading commit data...