diff options
| author | Austin Clements <austin@google.com> | 2015-05-21 14:12:29 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2015-06-02 19:57:42 +0000 |
| commit | c02b8911d84662ff6d0745acba6f2fcb79cc5cd1 (patch) | |
| tree | 6ba7109ce6d29f1f972a44e16c28f7363a48d9bd /src/runtime/stack_test.go | |
| parent | cc6a7fce533d7214c9cda0fc57af9ac948e61b7c (diff) | |
| download | go-c02b8911d84662ff6d0745acba6f2fcb79cc5cd1.tar.xz | |
runtime: clean up signalstack API
Currently signalstack takes a lower limit and a length and all calls
hard-code the passed length. Change the API to take a *stack and
compute the lower limit and length from the passed stack.
This will make it easier for the runtime to steal some space from the
top of the stack since it eliminates the hard-coded stack sizes.
Change-Id: I7d2a9f45894b221f4e521628c2165530bbc57d53
Reviewed-on: https://go-review.googlesource.com/10311
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions
