src/runtime/lfstack.go | 2 +- diff --git a/src/runtime/lfstack.go b/src/runtime/lfstack.go index db54ecb05ed4a1d5c42725cc41e3c0e177207cc7..8e33ce1d09c9acdd53c9cfe409d77155120eeb5b 100644 --- a/src/runtime/lfstack.go +++ b/src/runtime/lfstack.go @@ -6,7 +6,7 @@ // Lock-free stack. // 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