diff options
| author | Damien George <damien@micropython.org> | 2024-01-05 10:35:34 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-01-05 10:35:34 +1100 |
| commit | a003ac2f73b8f54643e42138ad10249e2b861b63 (patch) | |
| tree | 7312322c87bc12602d8aa26d65ecde07b2f3942c /docs/reference/speed_python.rst | |
| parent | 2265d70add3ecfaf2ffbfb8393ab29a887d8d7fd (diff) | |
tests/thread: Add a test for accuracy of sleep within a thread.
The existing thread_sleep1.py test only tests execution, not accuracy, of
time.sleep. Also the existing test only tests sleep(0) on targets like rp2
that can only create a single thread.
The new test in this commit checks for timing accuracy on the main thread
and one other thread when they run at the same time.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/reference/speed_python.rst')
0 files changed, 0 insertions, 0 deletions
