1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:04:40 -07:00
go/test/golden.out
Russ Cox 5eb007dede runtime: 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 #3342.

R=iant
CC=golang-dev
https://golang.org/cl/5919052
2012-03-27 12:22:19 -04:00

25 lines
222 B
Plaintext

== ./
== ken/
== chan/
== interface/
== syntax/
== dwarf/
== safe/
== fixedbugs/
=========== fixedbugs/bug429.go
throw: all goroutines are asleep - deadlock!
== bugs/
=========== bugs/bug395.go
bug395 is broken