massimo.zaniboni at gmail.com
Mon Jul 16 09:58:29 UTC 2018
Il 13/07/2018 17:29, Massimo Zaniboni ha scritto:
> () <$ (waitAny [p, c])
waitAny was not the correct solution, because it waits completition of
only one thread, and not all threads.
So I defined ``waitAll``. It returns also the most informative
exception. In particular synchronous exceptions are favoured respect
asynchronous exceptions, because synchronous exceptions are generated
from the processing code, and not from other threads or the run-time system.
I updated the repo with the code:
More information about the Haskell-Cafe