In the GHC document, section "GHC-specific concurrency issues", it says:
> In a standalone GHC program, only the main thread is required to
>   terminate in order for the process to terminate. 
I have a program (which does some fairly complex things with forking processes,
calling sockets etcetera) for which this doesn't appear to be true.  Specifically, the
very last line of the "main" action is:
      putStrLn "Test completed"
The program prints "Test completed", but then hangs.  I am using
the ghc-4.08.1 binary release on Linux.  What is going on.

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to