1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:34:51 -07:00
go/misc/cgo
Dmitriy Vyukov e84d9e1fb3 runtime: do not split stacks in syscall status
Split stack checks (morestack) corrupt g->sched,
but g->sched must be preserved consistent for GC/traceback.
The change implements runtime.notetsleepg function,
which does entersyscall/exitsyscall and is carefully arranged
to not call any split functions in between.

R=rsc
CC=golang-dev
https://golang.org/cl/11575044
2013-07-29 22:22:34 +04:00
..
gmp misc/cgo/gmp: fix typo. 2013-03-30 19:02:14 +08:00
life misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test runtime: do not split stacks in syscall status 2013-07-29 22:22:34 +04:00
testasan runtime: more flexible heap memory mapping on 64-bits 2013-06-12 18:47:16 +04:00
testcdefs cmd/cgo: Fix issue with cgo cdefs 2013-07-24 17:27:42 -07:00
testso misc/cgo/testso: use bash to run test.bash 2013-05-24 07:56:01 -04:00
testtls cmd/ld: emit TLS relocations during external linking 2013-03-27 13:27:35 -07:00