summaryrefslogtreecommitdiffstatshomepage
path: root/tests/thread
Commit message (Collapse)AuthorAge
* py/modthread: Raise RuntimeError in release() if lock is not acquired.Damien George2017-06-14
|
* various: Spelling fixesVille Skyttä2017-05-29
|
* tests/thread: Add stress-test for creating many threads.Damien George2017-02-15
|
* tests/thread: Replace busy waiting loops with a loop that sleeps.Damien George2017-02-15
| | | | | | Depending on the thread scheduler, a busy-wait loop can hog the CPU and make the tests very slow. So convert such loops to loops that have an explicit sleep, allowing the worker threads to do their job.
* tests/thread: Fix stack size test so tests run reliably on baremetal.Damien George2017-02-01
|
* tests/thread: Make thread_exc2 runable on baremetal.Damien George2017-01-31
|
* tests/thread: Improve modthread.c test coverage.Rami Ali2016-12-29
|
* tests/thread: Allow some tests to run on ports with not much heap.Damien George2016-06-28
|
* tests/thread: Allow thread_sleep1 to run without floating point.Damien George2016-06-28
|
* tests/thread: Make sure that thread tests don't rely on floating point.Damien George2016-06-28
|
* tests/thread: Make stack-size test run correctly and reliable on uPy.Damien George2016-06-28
|
* tests/thread: Add test for concurrent mutating of user instance.Damien George2016-06-28
|
* tests/thread: Add test for concurrent interning of strings.Damien George2016-06-28
| | | | Qstr code accesses global state and needs to be made thread safe.
* tests/thread: Add tests that mutate shared objects.Damien George2016-06-28
| | | | Tests concurrent mutating access to: list, dict, set, bytearray.
* tests/thread: Rename thread_stress_XXX.py to stress_XXX.py.Damien George2016-06-28
|
* tests/thread: Add tests for running GC within a thread, and heap stress.Damien George2016-06-28
|
* tests/thread: Remove need to sleep to wait for completion in some tests.Damien George2016-06-28
| | | | | | 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.
* tests: Add 3 more tests for _thread module.Damien George2016-06-28
|
* tests: Add tests for _thread module.Damien George2016-06-28
Includes functionality and stress tests.