Commit 28185bb8 authored by Damien George's avatar Damien George
Browse files

tests/thread: Fix stack size test so tests run reliably on baremetal.

parent 9d3c0d42
......@@ -38,6 +38,9 @@ _thread.stack_size(sz)
for i in range(n_thread):
_thread.start_new_thread(thread_entry, ())
# reset stack size to default (for subsequent scripts on baremetal)
_thread.stack_size()
# busy wait for threads to finish
while n_finished < n_thread:
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment