]> Cypherpunks repositories - gostls13.git/commit
log: more locking
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 17 Jul 2011 22:46:00 +0000 (15:46 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 17 Jul 2011 22:46:00 +0000 (15:46 -0700)
commit607520690491ae510f3f0c5a5482d393e6d6efe7
tree5d924ae5ba5ed4b1dc8a668eaae544a9eb7ad864
parentc705701c69a0ae18ec690cd6a34481f52c52f65b
log: more locking

This didn't actually cause a bug, but looks wrong.

There was a lock but there was more shared mutable state not
guarded by it.

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/4760047
src/pkg/log/log.go