diff options
| author | Austin Clements <austin@google.com> | 2016-02-15 17:37:04 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2016-03-16 20:13:02 +0000 |
| commit | e4a95b63433cc95c81782713b917b2941e48cb39 (patch) | |
| tree | c75e4309ada98df7b4a5bd9e2d177983cc417c1f /src/runtime/stack.go | |
| parent | d7cedc4b74f902a3a1b429fb27f85380f6955a6f (diff) | |
| download | go-e4a95b63433cc95c81782713b917b2941e48cb39.tar.xz | |
runtime: record channel in sudog
Given a G, there's currently no way to find the channel it's blocking
on. We'll need this information to fix a (probably theoretical) bug in
select and to implement concurrent stack shrinking, so record the
channel in the sudog.
For #12967.
Change-Id: If8fb63a140f1d07175818824d08c0ebeec2bdf66
Reviewed-on: https://go-review.googlesource.com/20035
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
