Commit e6f2ce7
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 e6f2ce7
2 files changed
Lines changed: 6 additions & 1 deletion
File tree
- Misc/NEWS.d/next/C_API
- Modules
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 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