Descriptionruntime: work around false negative in deadlock detection
Not a complete fix for issue 3342, but fixes the trivial case.
There may still be a race in the instants before and after
a scavenger-induced garbage collection.
Intended to be "obviously safe": a call to runtime·gosched
before main.main is no different than a call to runtime.Gosched
at the beginning of main.main, and it is (or had better be)
safe to call runtime.Gosched at any point during main.
Update issue 3342.
Patch Set 1 #Patch Set 2 : diff -r 9b086ea28e52 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 9b086ea28e52 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 91c8264647f8 https://go.googlecode.com/hg/ #
MessagesTotal messages: 5
|