]> Cypherpunks repositories - gostls13.git/commit
runtime: ensure forward progress of runtime.Gosched() for locked goroutines
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 15 Feb 2013 18:22:13 +0000 (22:22 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 15 Feb 2013 18:22:13 +0000 (22:22 +0400)
commitf87b7f67b232db252a527dbc000533a27ccb8cd2
tree059b70e75c66e48a8c2929da6474be3aba3cdabb
parentd3d89ae7d21d8253626aebf212a63d670561f659
runtime: ensure forward progress of runtime.Gosched() for locked goroutines
The removed code leads to the situation when M executes the same locked G again and again.
Fixes #4820.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7310096
src/pkg/runtime/proc.c
src/pkg/runtime/proc_test.go