aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-02-15 23:50:58 -0500
committerAustin Clements <austin@google.com>2016-03-16 20:13:05 +0000
commit26594c3dfd67f1fccb328c02de680bfea7eef013 (patch)
treea3801be3e18f1d2b3c23f641f762fed2ba1c0de7 /src/runtime/stack.go
parente4a95b63433cc95c81782713b917b2941e48cb39 (diff)
downloadgo-26594c3dfd67f1fccb328c02de680bfea7eef013.tar.xz
runtime: use indexes for select lock order
Currently the select lock order is a []*hchan. We're going to need to refer to things other than the channel itself in lock order shortly, so switch this to a []uint16 of indexes into the select cases. This parallels the existing representation for the poll order. Change-Id: I89262223fe20b4ddf5321592655ba9eac489cda1 Reviewed-on: https://go-review.googlesource.com/20036 Reviewed-by: Rick Hudson <rlh@golang.org> Reviewed-by: Keith Randall <khr@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