Skip to content

Commit 93191a3

Browse files
committed
[SE-0282][NFC] Minor formatting update
1 parent 6840438 commit 93191a3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

proposals/0282-atomics.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@ To resolve this problem, we propose to introduce the concept of *atomic access*,
8484
We define *atomic access* as a call to one of the following functions in the C atomic operation library:
8585

8686
```text
87-
atomic_flag_test_and_set atomic_flag_test_and_set_explicit
88-
atomic_flag_clear atomic_flag_clear_explicit
89-
atomic_store atomic_store_explicit
90-
atomic_load atomic_load_explicit
91-
atomic_exchange atomic_exchange_explicit
92-
atomic_compare_exchange_strong atomic_compare_exchange_strong_explicit
93-
atomic_compare_exchange_weak atomic_compare_exchange_weak_explicit
94-
atomic_fetch_add atomic_fetch_add_explicit
95-
atomic_fetch_sub atomic_fetch_sub_explicit
96-
atomic_fetch_or atomic_fetch_or_explicit
97-
atomic_fetch_xor atomic_fetch_xor_explicit
98-
atomic_fetch_and atomic_fetch_and_explicit
87+
atomic_flag_test_and_set atomic_flag_test_and_set_explicit
88+
atomic_flag_clear atomic_flag_clear_explicit
89+
atomic_store atomic_store_explicit
90+
atomic_load atomic_load_explicit
91+
atomic_exchange atomic_exchange_explicit
92+
atomic_compare_exchange_strong atomic_compare_exchange_strong_explicit
93+
atomic_compare_exchange_weak atomic_compare_exchange_weak_explicit
94+
atomic_fetch_add atomic_fetch_add_explicit
95+
atomic_fetch_sub atomic_fetch_sub_explicit
96+
atomic_fetch_or atomic_fetch_or_explicit
97+
atomic_fetch_xor atomic_fetch_xor_explicit
98+
atomic_fetch_and atomic_fetch_and_explicit
9999
```
100100

101101
We consider two of these operations to *access the same variable* if they operate on the same memory location. (Future proposals may introduce additional ways to perform atomic access, including native support for atomic operations in the Swift Standard Library.)

0 commit comments

Comments
 (0)