Hi, I have two bug reports related to using the Concurrent module in GHCi (I am running 5.02 on Solaris).
1) I get the following behavior: Main> forkIO (print "1") Main> forkIO (print "2" >> print "3") "1" Main> print "4" "2" "4" "3" It seems that GHCi returns to the prompt when the main thread has stopped, even when there are still other threads running. The bug is that those other threads might then be later executed, completely arbitrarily. Wouldn't it make more sense to return to the prompt when all threads have finished? 2) GHCi terminates with "no threads to run: infinite loop or deadlock?" when doing this: Main> newEmptyMVar >>= takeMVar ghc-5.02: no threads to run: infinite loop or deadlock? The error message is nice, but I would expect to get back to the prompt. /Koen. _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
