Y
Hacker News
new
|
ask
|
show
|
jobs
by
heythere124
3278 days ago
time.Sleep(1000) could be replaced with a real syncing mechanism of some kind -- it's only for illustration.
1 comments
the8472
3277 days ago
a real syncing mechanism would introduce compiler barriers that prevent such an optimization.
link