• Russ Cox's avatar
    [dev.cc] runtime: convert signal handlers from C to Go · 2d917c0c
    Russ Cox authored
    This code overused macros and could not be
    converted automatically. Instead a new sigctxt
    type had to be defined for each os/arch combination,
    with a common (implicit) interface used by the
    arch-specific signal handler code.
    
    [This CL is part of the removal of C code from package runtime.
    See golang.org/s/dev.cc for an overview.]
    
    LGTM=r
    R=r
    CC=austin, dvyukov, golang-codereviews, iant, khr
    https://golang.org/cl/168500044
    2d917c0c
signal_amd64x.go 4.71 KB