diff options
| author | Damien George <damien@micropython.org> | 2021-05-10 12:44:47 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-05-10 13:07:16 +1000 |
| commit | 4cdcbdb7531b98b2dc9a85737b760f509957e31e (patch) | |
| tree | b30210b71391afc26935198b2f7561ac3e3139c3 /py/qstr.c | |
| parent | b6b39bff47b5ff1ffc322a6e795d57451d4215a8 (diff) | |
tests/thread: Make exc1,exit1,exit2,stacksize1,start1 tests run on rp2.
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>
Diffstat (limited to 'py/qstr.c')
0 files changed, 0 insertions, 0 deletions
