Better HN
top
new
best
ask
show
jobs
Log in
Sign up
gsjs
1 karma · joined Mar 27, 2016 (10y ago) · 1 submissions
Submissions
comment 10y ago ·
link
·
parent
I don't think there's a data race there, but the compiler can't check that. What the compiler sees is more than one thread accessing the variable `data`, which could cause a data race.