fixed typo in README
This commit is contained in:
@@ -40,8 +40,9 @@ correct; the second call does not because the old value is wrong.
|
||||
|
||||
To compile and run:
|
||||
```sh
|
||||
prompt> gcc -o compare_and_swap compare_and_swap.c -Wall
|
||||
prompt> ./compare_and_swap
|
||||
prompt> gcc -o compare-and-swap compare-and-swap.c -Wall
|
||||
prompt> ./compare-and-swap
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user