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
|