FAQ
Try changing the code so that defer isn't used (unless its a commonly used pattern that would be time consuming to fix). If the problem persists it isn't a bug in defer.

Try building with the race detector enabled, and then possibly implement the atomic increment Egon mentioned.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 7 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJan 28, '15 at 7:31p
activeJan 30, '15 at 2:37a
posts7
users6
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase