commit | 75d3f62b3c9dc21a2c32a74f1d19b67b965e410b | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Nov 05 14:42:54 2014 -0500 |
committer | Russ Cox <rsc@golang.org> | Wed Nov 05 14:42:54 2014 -0500 |
tree | 18a151b5de6b7d930343f11dbf82ff512dae3022 | |
parent | 91658f934d6dc4672fa1e511e37d76b4d5b6c134 [diff] |
[dev.garbage] cmd/gc, runtime: add locks around print statements Now each C printf, Go print, or Go println is guaranteed not to be interleaved with other calls of those functions. This should help when debugging concurrent failures. LGTM=rlh R=rlh CC=golang-codereviews https://golang.org/cl/169120043