|
|
|
|
|
by MaxBarraclough
1301 days ago
|
|
> The code wasn't standard C, and it didn't just "happen" to work
Thanks, that makes sense.At the risk of sounding pedantic, you did say using nothing but C99 or C90, implying use of standard features only. > You probably wouldn't want to build an atomic compare-exchange in
> standard C, even if it were possible; you find out what the
> hardware provides and work with that.
Agreed. |
|