[Haskell-cafe] Cleaning up threads

Mitar mmitar at gmail.com
Tue Sep 14 18:25:23 EDT 2010


On Tue, Sep 14, 2010 at 11:46 PM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> Note that killing the main thread will also kill all other threads. See:

Yes. But how does those other threads have time to cleanup is my question.

> You can use my threads library to wait on a child thread and possibly
> re-raise an exception that was thrown in or to it:

Thanks. Will look into it.


More information about the Haskell-Cafe mailing list