• Rowan Worth's avatar
    runtime: co-exist with NPTL's pthread_cancel. · c4770b99
    Rowan Worth authored
    NPTL uses SIGRTMIN (signal 32) to effect thread cancellation.
    Go's runtime replaces NPTL's signal handler with its own, and
    ends up aborting if a C library that ends up calling
    pthread_cancel is used.
    
    This patch prevents runtime from replacing NPTL's handler.
    
    Fixes #6997.
    
    R=golang-codereviews, iant, dvyukov
    CC=golang-codereviews
    https://golang.org/cl/47540043
    c4770b99
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...