sync/waitgroup: why v == int32(delta)
is required when judging if the waitgroup is misused?
#39571
Labels
v == int32(delta)
is required when judging if the waitgroup is misused?
#39571
What version of Go are you using (
go version
)?Question?
Why
v == int32(delta)
is required here? Isw != 0 && delta > 0
insufficient to judge if a waitgroup is misused for Add called concurrently with Wait?The text was updated successfully, but these errors were encountered: