Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
heythere124
· 9y ago · 0 comments
time.Sleep(1000) could be replaced with a real syncing mechanism of some kind -- it's only for illustration.
Comments
[–]
the8472
9y ago
a real syncing mechanism would introduce compiler barriers that prevent such an optimization.