diff options
| author | hallgren <hallgren@chalmers.se> | 2013-05-02 12:36:16 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2013-05-02 12:36:16 +0000 |
| commit | e44580aced6deb80a42ecbdbdb11cd7f3f3b8014 (patch) | |
| tree | aa82c74ba2bdd3bdca79b5f4684ba5582ba6a246 | |
| parent | 22f44ef61f99acdec5d19f336bb80f6bb3a4e8b7 (diff) | |
Setup.hs: comment out ineffective parallelisation
| -rw-r--r-- | Setup.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,8 +15,8 @@ import System.FilePath import System.Directory import System.Process import System.Exit -import Control.Concurrent(forkIO) -import Control.Concurrent.Chan(newChan,writeChan,readChan) +--import Control.Concurrent(forkIO) +--import Control.Concurrent.Chan(newChan,writeChan,readChan) import WebSetup @@ -430,8 +430,8 @@ ls path = filter (`notElem` [".",".."]) `fmap` getDirectoryContents path -- | For parallel RGL module compilation -- Unfortunately, this has no effect unless Setup.hs is compiled with -threaded -parallel_ ms = -- sequence_ ms {- +parallel_ ms = sequence_ ms {- do c <- newChan ts <- sequence [ forkIO (m >> writeChan c ()) | m <- ms] sequence_ [readChan c | _ <- ts] ---}
\ No newline at end of file +--} |
