28 Jul
2005
28 Jul
'05
2:46 p.m.
On Thu, Jul 28, 2005 at 04:35:10PM +0200, Peter Simons wrote:
Ian Lynagh writes:
With the below code (compiled by ghc) I get "a.out: thread blocked indefinitely".
You need to compile with '-threaded' to avoid this problem.
Unfortunately, this doesn't mean that your program will actually work. ;-) GHC 6.4 produces a binary that waits forever. When compiling with the current GHC from CVS, everything is good:
Hmm, I had assumed that this was not working because of the file locking stuff in the report. It works both with and without -threaded with CVS GHC for me. So, is this a bug in CVS GHC or in 6.4? Thanks Ian