mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
55c76eaac1
Otherwise a task that continuously awaits on a large negative sleep can monopolise the scheduler (because its wake time is always less than everything else in the pairing heap). Signed-off-by: Damien George <damien@micropython.org>
14 lines
155 B
Plaintext
14 lines
155 B
Plaintext
task start 1
|
|
task start 2
|
|
task work 2
|
|
task start 3
|
|
task work 3
|
|
task start 4
|
|
task work 2
|
|
task work 3
|
|
task work 2
|
|
task work 2
|
|
task work 3
|
|
task work 2
|
|
finish
|