Skip to content

Commit fca9fc5

Browse files
committed
runtime: fix stale comment in lfstack
Change-Id: I6ef08f6078190dc9df0b2df4f26a76456602f5e8 Reviewed-on: https://go-review.googlesource.com/24176 Reviewed-by: Rick Hudson <[email protected]>
1 parent 79f2f00 commit fca9fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/lfstack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Initialize head to 0, compare with 0 to test for emptiness.
77
// The stack does not keep pointers to nodes,
88
// so they can be garbage collected if there are no other pointers to nodes.
9-
// The following code runs only on g0 stack.
9+
// The following code runs only in non-preemptible contexts.
1010

1111
package runtime
1212

0 commit comments

Comments
 (0)