90aaf2dbef
The following fixes are made: - cancelling a gather now cancels all sub-tasks of the gather (previously it would only cancel the first) - if any sub-task of a gather raises an exception then the gather finishes (previously it would only finish if the first sub-task raised) Fixes issues #5798, #7807, #7901. Signed-off-by: Damien George <damien@micropython.org>
15 lines
211 B
Plaintext
15 lines
211 B
Plaintext
task start 1
|
|
task start 2
|
|
gather_task start
|
|
RuntimeError("can't wait",)
|
|
task end 1
|
|
task end 2
|
|
gather_task end
|
|
====
|
|
task start 1
|
|
task start 2
|
|
gather_task start
|
|
RuntimeError("can't gather",)
|
|
task end 1
|
|
task end 2
|