commit | e84d9e1fb3a0d87abd60d31afb9cd0ddfb7d9bfa | [log] [tgz] |
---|---|---|
author | Dmitriy Vyukov <dvyukov@google.com> | Mon Jul 29 22:22:34 2013 +0400 |
committer | Dmitriy Vyukov <dvyukov@google.com> | Mon Jul 29 22:22:34 2013 +0400 |
tree | 1a0213f1250994c0734456bdcd81bb1bf5e56ee4 | |
parent | b8734748b6b151a7fd724fc41e2555e6cd34385f [diff] |
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