Permalink
Browse files

Adding a comment about the workaround of the parallel IO manager on Mac.

  • Loading branch information...
1 parent 65ae34c commit 51a8b9bb878247675b6e003fa081f1a22b2ae420 @kazu-yamamoto kazu-yamamoto committed with tibbe Feb 8, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 GHC/Event/Manager.hs
View
@@ -316,6 +316,15 @@ registerFd mgr cb fd evs = do
return r
{-# INLINE registerFd #-}
+{-
+ Building GHC with parallel IO manager on Mac freezes when
+ compiling the dph libraries in the phase 2. As workaround, we
+ don't use oneshot and we wake up an IO manager on Mac every time
+ when we register an event.
+
+ For more information, please read:
+ http://hackage.haskell.org/trac/ghc/ticket/7651
+-}
-- | Wake up the event manager.
wakeManager :: EventManager -> IO ()
#if defined(darwin_HOST_OS)

0 comments on commit 51a8b9b

Please sign in to comment.