]> Cypherpunks repositories - gostls13.git/commit
runtime: preparation for non-Go threads running Go code
authorRuss Cox <rsc@golang.org>
Mon, 18 Feb 2013 18:43:12 +0000 (13:43 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 18 Feb 2013 18:43:12 +0000 (13:43 -0500)
commit86d509b463d92be4ea9f51d61760d8383b1f96e4
tree05a3311a06291b8d39a9702f7ec9bb3a7892d24d
parent07e87885ad4094aa27f166d1e666b29b910c0429
runtime: preparation for non-Go threads running Go code

* Handle p==nil in signalstack by setting SS_DISABLE flag.
* Make minit only allocate a signal g if there's not one already.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7323072
22 files changed:
src/pkg/runtime/os_darwin.h
src/pkg/runtime/os_freebsd.h
src/pkg/runtime/os_linux.h
src/pkg/runtime/os_netbsd.h
src/pkg/runtime/os_openbsd.h
src/pkg/runtime/signal_darwin_386.c
src/pkg/runtime/signal_darwin_amd64.c
src/pkg/runtime/signal_freebsd_386.c
src/pkg/runtime/signal_freebsd_amd64.c
src/pkg/runtime/signal_freebsd_arm.c
src/pkg/runtime/signal_linux_386.c
src/pkg/runtime/signal_linux_amd64.c
src/pkg/runtime/signal_linux_arm.c
src/pkg/runtime/signal_netbsd_386.c
src/pkg/runtime/signal_netbsd_amd64.c
src/pkg/runtime/signal_netbsd_arm.c
src/pkg/runtime/signal_openbsd_386.c
src/pkg/runtime/signal_openbsd_amd64.c
src/pkg/runtime/thread_darwin.c
src/pkg/runtime/thread_linux.c
src/pkg/runtime/thread_netbsd.c
src/pkg/runtime/thread_openbsd.c