diff options
author | Damien George <damien@micropython.org> | 2020-08-20 23:13:25 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-08-22 12:17:06 +1000 |
commit | 55c76eaac12af4e93f8de11bb25c835e8b65c623 (patch) | |
tree | cf3e4d1ccad90737a076548dddbc84acb8c5dbc6 /tests/basics/bytes_split.py | |
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/basics/bytes_split.py')
0 files changed, 0 insertions, 0 deletions