]> Cypherpunks repositories - gostls13.git/commit
runtime: implement getcontext and sigprocmask for netbsd
authorJoel Sing <jsing@google.com>
Tue, 15 May 2012 18:32:49 +0000 (04:32 +1000)
committerJoel Sing <jsing@google.com>
Tue, 15 May 2012 18:32:49 +0000 (04:32 +1000)
commitefa67b2c55b1a61ff780c04486ba9f901d8fb0a6
tree0b6eec5ff6af6a7c4b58c7cb36f85af42403482e
parent0b7bcb84e394755664562fb70cd48c033e61669c
runtime: implement getcontext and sigprocmask for netbsd

Implement getcontext and sigprocmask for NetBSD - these will soon be
used by the thread handling code.

Also fix netbsd/386 signal handling - there is no sigreturn, just
return so that we hit the trampoline.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6215049
src/pkg/runtime/os_netbsd.h
src/pkg/runtime/sys_netbsd_386.s
src/pkg/runtime/sys_netbsd_amd64.s