|
|
|
|
|
by binarycoffee
989 days ago
|
|
I have always wondered about that. If optimizing repeated atomic loads is indeed allowed, waiting for a signal by spinning on an atomic load could loop forever. Yet I have the feeling most people consider such code to be valid. Are they wrong? |
|