You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mikioh
changed the title
Race detector does not detect len(c) / {send,recv}(c) race
runtime/race: Race detector does not detect len(c) / {send,recv}(c) race
Jun 4, 2015
A single channel may be used in send statements, receive operations, and calls to the built-in functions cap and len by any number of goroutines without further synchronization.
The race detector should report a race when one goroutine is reading the length of a channel and another is reading or writing to the channel.
@dvyukov
The text was updated successfully, but these errors were encountered: