Hello Branimir,

Monday, December 12, 2005, 3:47:12 AM, you wrote:

BM> Perhaps you can implement this in Haskell? dedicate single thread to
BM> just handle ^C signal? this is how you should do it properly,
BM> but I would go with console client anyway:

moreover, that must be the MAIN THREAD, as i sayed in previous msg.
smth like this:

main = do id <- forkIO real_main
          installInterruptsHandler (killThread id)
          wait forever...

i will try it in my windows prog


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to