FAQ
i pointed out the data race in the discussion mail 5 month ago. it was
not introduced by me. it only started to show because RemoveWatch is now
called by the test.

in this path i also put the isClosed check inside the lock. i think we
should not expect the user to call AddWatch and Close from the same go
routine.

https://codereview.appspot.com/6553059/

--

---
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

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedFeb 16, '13 at 2:41a
activeFeb 16, '13 at 11:56a
posts3
users2
websitegolang.org

2 users in discussion

Dave: 2 posts Mbnull Org: 1 post

People

Translate

site design / logo © 2023 Grokbase