1 2 3 4 5 6 7 8
-- test for blocking putMVar import Control.Concurrent main = do m <- newMVar () forkIO (threadDelay 100000 >> takeMVar m) putMVar m ()