Commit d7dd332
committed
gh-155628: Use a relaxed add for the asyncio task name counter
The counter only generates unique default Task names; the add is its
sole access in the free-threaded build, so only the uniqueness of each
returned value matters, which atomicity alone guarantees.1 parent 6510577 commit d7dd332
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | | - | |
| 2345 | + | |
2346 | 2346 | | |
2347 | 2347 | | |
2348 | 2348 | | |
| |||
0 commit comments