diff options
author | Austin Clements <austin@google.com> | 2016-06-16 15:41:33 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2016-06-16 19:45:33 +0000 |
commit | fca9fc52c831ab6af56e30f8c48062a99ded2580 (patch) | |
tree | cfd7e055dd5fb6f910f82e6e8b697cf674adc846 | |
parent | 79f2f008a31f769ae3db684eb48d8baeda731c00 (diff) | |
download | go1.7beta2.tar.gz go1.7beta2.zip |
runtime: fix stale comment in lfstackgo1.7beta2
Change-Id: I6ef08f6078190dc9df0b2df4f26a76456602f5e8
Reviewed-on: https://go-review.googlesource.com/24176
Reviewed-by: Rick Hudson <rlh@golang.org>
-rw-r--r-- | src/runtime/lfstack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/lfstack.go b/src/runtime/lfstack.go index db54ecb05e..8e33ce1d09 100644 --- a/src/runtime/lfstack.go +++ b/src/runtime/lfstack.go @@ -6,7 +6,7 @@ // Initialize head to 0, compare with 0 to test for emptiness. // The stack does not keep pointers to nodes, // so they can be garbage collected if there are no other pointers to nodes. -// The following code runs only on g0 stack. +// The following code runs only in non-preemptible contexts. package runtime |