1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:30:03 -07:00

doc/go1.2.html: Go 1.2, not Go1.2

R=r
CC=golang-dev
https://golang.org/cl/13735044
This commit is contained in:
Dominik Honnef 2013-09-22 07:28:52 +10:00 committed by Rob Pike
parent e4c1fffcb1
commit f70116102b

View File

@ -131,7 +131,7 @@ This is a backwards-compatible change that affects no existing programs.
In prior releases, a goroutine that was looping forever could starve out other In prior releases, a goroutine that was looping forever could starve out other
goroutines on the same thread, a serious problem when GOMAXPROCS goroutines on the same thread, a serious problem when GOMAXPROCS
provided only one user thread. provided only one user thread.
In Go1.2, this is partially addressed: The scheduler is invoked occasionally In Go 1.2, this is partially addressed: The scheduler is invoked occasionally
upon entry to a function. upon entry to a function.
This means that any loop that includes a (non-inlined) function call can This means that any loop that includes a (non-inlined) function call can
be pre-empted, allowing other goroutines to run on the same thread. be pre-empted, allowing other goroutines to run on the same thread.