aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-02-16 11:06:00 -0500
committerAustin Clements <austin@google.com>2016-03-16 20:13:07 +0000
commit005140a77e535fa614fbdaa3c6c5d4c7f69f7a91 (patch)
tree871463bee1ccf01170984f0a20b11137b251834f /src/runtime/stack.go
parent26594c3dfd67f1fccb328c02de680bfea7eef013 (diff)
downloadgo-005140a77e535fa614fbdaa3c6c5d4c7f69f7a91.tar.xz
runtime: put g.waiting list in lock order
Currently the g.waiting list created by a select is in poll order. However, nothing depends on this, and we're going to need access to the channel lock order in other places shortly, so modify select to put the waiting list in channel lock order. For #12967. Change-Id: If0d38816216ecbb37a36624d9b25dd96e0a775ec Reviewed-on: https://go-review.googlesource.com/20037 Reviewed-by: Rick Hudson <rlh@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions