On Mon, Aug 3, 2009 at 4:32 PM, Victor Nazarov<asviraspossi...@gmail.com> wrote: > 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe