4cdcbdb753
The RP2040 has 2 cores and supports running at most 2 Python threads (the main one plus another), and will raise OSError if a thread cannot be created because core1 is already in use. This commit adjusts some thread tests to be robust against such OSError's. These tests now pass on rp2 boards. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
mutate_bytearray.py | ||
mutate_dict.py | ||
mutate_instance.py | ||
mutate_list.py | ||
mutate_set.py | ||
stress_aes.py | ||
stress_create.py | ||
stress_heap.py | ||
stress_recurse.py | ||
stress_schedule.py | ||
stress_schedule.py.exp | ||
thread_exc1.py | ||
thread_exc2.py | ||
thread_exc2.py.exp | ||
thread_exit1.py | ||
thread_exit2.py | ||
thread_gc1.py | ||
thread_heap_lock.py | ||
thread_heap_lock.py.exp | ||
thread_ident1.py | ||
thread_lock1.py | ||
thread_lock2.py | ||
thread_lock3.py | ||
thread_lock4.py | ||
thread_lock5.py | ||
thread_qstr1.py | ||
thread_shared1.py | ||
thread_shared2.py | ||
thread_sleep1.py | ||
thread_stacksize1.py | ||
thread_start1.py | ||
thread_start2.py |