
3 Aug
2009
3 Aug
'09
12:51 p.m.
On Mon, Aug 3, 2009 at 4:32 PM, Victor Nazarov
I've been trying to write some simple web application in haskell using FastCGI, HDBC and HStringTemplate. I've got stuck with the following problem.
[snip]
main :: IO () -- main = runFastCGIConcurrent' forkIO 10 (handleErrors test) -- This allways gives internal error without a chance to find out what happens main = runFastCGI $ handleErrors test -- This works fine
So one variant of main function works, the other allways gives no output. What can be the case?
The problem seems to be GHC's -threaded flag. Everything works fine with this flag. -- Victor Nazarov