mirror of
https://github.com/micropython/micropython.git
synced 2026-01-27 22:30:20 +01:00
tests/thread/stress_schedule.py: Remove decorator/inaccurate comment.
This test can now run correctly with the native emitter because the `thread()` function will run the scheduler during the call to `time.sleep_ms(1)`. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
committed by
Damien George
parent
78ec31b175
commit
f918e33645
@@ -27,8 +27,6 @@ def task(x):
|
||||
n += 1
|
||||
|
||||
|
||||
# This function must always use the bytecode emitter so it bounces the GIL when running.
|
||||
@micropython.bytecode
|
||||
def thread():
|
||||
while thread_run:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user