diff options
| author | Damien George | 2020-08-20 23:13:25 +1000 |
|---|---|---|
| committer | Damien George | 2020-08-22 12:17:06 +1000 |
| commit | 55c76eaac12af4e93f8de11bb25c835e8b65c623 (patch) | |
| tree | cf3e4d1ccad90737a076548dddbc84acb8c5dbc6 /tests/extmod/uasyncio_fair.py.exp | |
| parent | 20948a3d54ff560a3d029b8bfc9761dcbbad9312 (diff) | |
extmod/uasyncio: Truncate negative sleeps to 0.
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>
Diffstat (limited to 'tests/extmod/uasyncio_fair.py.exp')
| -rw-r--r-- | tests/extmod/uasyncio_fair.py.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extmod/uasyncio_fair.py.exp b/tests/extmod/uasyncio_fair.py.exp index 4428943f4..b4b6481db 100644 --- a/tests/extmod/uasyncio_fair.py.exp +++ b/tests/extmod/uasyncio_fair.py.exp @@ -3,6 +3,7 @@ task start 2 task work 2 task start 3 task work 3 +task start 4 task work 2 task work 3 task work 2 |
