]> Cypherpunks repositories - gostls13.git/commit
runtime: document the G states
authorAustin Clements <austin@google.com>
Sat, 27 Feb 2016 23:44:25 +0000 (18:44 -0500)
committerAustin Clements <austin@google.com>
Mon, 14 Mar 2016 16:30:16 +0000 (16:30 +0000)
commitb1a6e07919b965c36479fa7595107eb76393839f
tree69e0b9109f657d9c950c4aecf2964457275518df
parentda153354b2862c1f7e1a55ad98680386d1fe31ef
runtime: document the G states

In particular, write down the rules for stack ownership because the
details of this are about to get very important with concurrent stack
shrinking. (Interestingly, the details don't actually change, but
anything that's currently skating on thin ice is likely to fall
through.)

Fox #12967.

Change-Id: I561e2610e864295e9faba07717a934aabefcaab9
Reviewed-on: https://go-review.googlesource.com/20034
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/runtime2.go