Damien George
|
b7274e91bc
|
tests/thread: Add test for concurrent mutating of user instance.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
2e4cdae4fd
|
tests/thread: Add test for concurrent interning of strings.
Qstr code accesses global state and needs to be made thread safe.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
094a0dd11a
|
tests/thread: Add tests that mutate shared objects.
Tests concurrent mutating access to: list, dict, set, bytearray.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
c73cf9d931
|
tests/thread: Rename thread_stress_XXX.py to stress_XXX.py.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
dcc7c5bd89
|
tests/thread: Add tests for running GC within a thread, and heap stress.
|
2016-06-28 11:28:49 +01:00 |
|
Damien George
|
3545ef8bb4
|
tests/thread: Remove need to sleep to wait for completion in some tests.
Use a lock and a counter instead, and busy wait for all threads to
complete. This makes test run faster and they no longer rely on the time
module.
|
2016-06-28 11:09:31 +01:00 |
|
Damien George
|
2d5ea38b49
|
tests: Add 3 more tests for _thread module.
|
2016-06-28 11:09:31 +01:00 |
|
Damien George
|
ed36632c6c
|
tests: Add tests for _thread module.
Includes functionality and stress tests.
|
2016-06-28 11:09:31 +01:00 |
|