• Joel Sing's avatar
    runtime: use __tfork() syscall on openbsd · 689d5b91
    Joel Sing authored
    Switch from using the rfork() syscall on OpenBSD, to the __tfork()
    syscall.  The __tfork() syscall is the preferred way of creating
    system threads and the rfork() syscall has recently been removed.
    
    Note: this will break compatibility with OpenBSD releases prior to 5.1.
    
    R=golang-dev, bradfitz, devon.odell, rsc
    CC=golang-dev
    https://golang.org/cl/6037048
    689d5b91
thread_openbsd.c 5.35 KB