On 12/10/2011 12:24, Bertram Felgenhauer wrote:
Jean-Marie Gaillourdet wrote:
This is my previous program with your workaround, it is also attached as
TypeRepEqLock.hs
[snip]
Compile and execute:
$ ghc-7.0.3 -threaded -rtsopts TypeRepEqLock.hs
snip
$ while true ; do ./TypeRepEqLock +RTS -N
Simon Marlow wrote:
import Control.Concurrent
import Control.Exception
import Control.Monad
import System.IO.Unsafe
main :: IO ()
main = do
-- evaluate lock -- adding this line fixes the problem
fin1- newEmptyMVar
fin2- newEmptyMVar
forkIO $ ping= putMVar fin1
Hi Paul,
The ghc-users list might get you a quicker response to this sort of
question.
Maybe a good start would be to give us a listing of which files you've
modified so far.
Antoine
On Fri, Oct 14, 2011 at 4:49 PM, Paul Monday paul.mon...@parsci.com wrote:
Alright, I wandered through some
Antoine Latter wrote:
Hi Paul,
The ghc-users list might get you a quicker response to this sort of
question.
I thing ghc-cvs might be even better :-).
Cheers,
Erik
--
--
Erik de Castro Lopo
http://www.mega-nerd.com/