3 -- Test thread creation.
4 -- (from: Einar Wolfgang Karlsen <ewk@Informatik.Uni-Bremen.DE>)
13 spawner :: (IO () -> IO ThreadId) -> Int -> IO ()
14 spawner c 0 = putMVar mvar ()
15 spawner c n = do { c (spawner c (n-1)); return ()}
17 spawner forkIO 10000000