Descriptionrpc: make Server.Mutex unexported
Currently it's possible to write:
var s rpc.Server
...
// reuse for my own purposes
s.Lock()
...
s.Unlock()
which is seemingly not intended.
Patch Set 1 #Patch Set 2 : diff -r 39c4fe186875 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 39c4fe186875 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|