runtime: simplify gcResetGState
Since allglock is held in this function, there's no point to tip-toeing around allgs. Just use a for-range loop. Change-Id: I1ee61c7e8cac8b8ebc8107c0c22f739db5db9840 Reviewed-on: https://go-review.googlesource.com/5882 Reviewed-by:Russ Cox <rsc@golang.org> Reviewed-by:
Rick Hudson <rlh@golang.org>
Loading
Please sign in to comment