FAQ
*** Submitted as
https://code.google.com/p/go/source/detail?r=4bbd9bfda787 ***

net/rpc: avoid racy use of closing flag.

It's accessed without mutex protection
in a different goroutine from the one that
sets it.

Also make sure that Client.Call after Client.Close
will reliably return ErrShutdown, and that clients
see ErrShutdown rather than io.EOF when appropriate.

Suggestions welcome for a way to reliably test
the mutex issue.

R=r, iant
CC=golang-dev
https://codereview.appspot.com/7338045


https://codereview.appspot.com/7338045/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedFeb 25, '13 at 4:22p
activeFeb 25, '13 at 4:22p
posts1
users1
websitegolang.org

1 user in discussion

Rogpeppe: 1 post

People

Translate

site design / logo © 2023 Grokbase