Sam Gross
a025f27d94
gh-130920: Fix data race in STORE_SUBSCR_LIST_INT ( #130923 )
...
The write of the item to the list needs to use an atomic operation in
the free threading build.
Co-authored-by: Tomasz Pytel <tompytel@gmail.com>
2025-03-06 15:59:48 -05:00
Victor Stinner
0387c34f7c
gh-124402: Speed up test_free_threading and test_super ( #124491 )
...
* Reduce the number of iterations and the number of threads so a
whole test file takes less than a minute.
* Refactor test_racing_iter_extend() to remove two levels of
indentation.
* test_monitoring() uses a sleep of 100 ms instead of 1 second.
2024-09-26 10:53:17 +02:00
Victor Stinner
38a5beb12a
gh-124402: Require cpu resource in test_free_threading ( #124438 )
...
Require the 'cpu' test resource on slow test_free_threading tests.
2024-09-24 16:33:27 +02:00
Dino Viehland
e272195b3e
gh-118362: Skip tests when threading isn't available ( #118666 )
...
* Skip tests when threads aren't available
* Use ThreadPoolExecutor
2024-05-06 16:45:04 -07:00
Dino Viehland
1e67b9207c
gh-117657: Fix TSAN list set failure ( #118260 )
...
* Fix TSAN list set failure
* Relaxed atomic is sufficient, add targetted test
* More list
* Remove atomic assign in list
* Fixup white space
2024-05-02 13:03:05 -07:00