
14 Sep
2010
14 Sep
'10
4:44 p.m.
Hi!
On Tue, Sep 14, 2010 at 9:04 PM, Gregory Collins
That's surprising to me -- this is how we kill the Snap webserver (killThread the controlling thread...).
Yes. This does work. The only problem is that my main thread then kills child threads, which then start killing main thread again, which then again kills child threads and interrupt cleanup. Probably it can be solved with mask: http://hackage.haskell.org/trac/ghc/ticket/1036 My question is if there is some good code example how to achieve that before mask is available. The code I wrote in my original post does not work as intended. Mitar