Commit cb816e2
committed
Clarify behavior of atomic_ref DefaultScope
An implementation of atomic_ref<T> that was not lock-free needs to know which
work-items may access the lock in order to decide where to allocate the lock.
This additionally serves as a clarification of the behavior of work-item scope;
using an atomic_ref with work-item scope at the same time as an atomic_ref
with broader scope is invalid.1 parent 9576b31 commit cb816e2
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20340 | 20340 | | |
20341 | 20341 | | |
20342 | 20342 | | |
| 20343 | + | |
| 20344 | + | |
| 20345 | + | |
| 20346 | + | |
20343 | 20347 | | |
20344 | 20348 | | |
20345 | 20349 | | |
| |||
0 commit comments