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