Descriptionruntime: 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.
This is https://codereview.appspot.com/7310096 but with return instead of break
in the nested switch.
Fixes issue 4820.
Patch Set 1 #Patch Set 2 : diff -r 0adf91947752 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 0adf91947752 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r 28d951917340 https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 4
|