diff options
author | Kazu Yamamoto <kazu@iij.ad.jp> | 2013-02-08 16:24:26 +0900 |
---|---|---|
committer | Johan Tibell <johan.tibell@gmail.com> | 2013-02-11 21:38:08 -0800 |
commit | ebf3787ae98afe6f4c3dd1c604cc8a48ebc9f768 (patch) | |
tree | 1db0be7a0326ad980c9fd654c15b001a9c786b74 /libraries/base | |
parent | 5186ffc5df803abb2b293f03973564efa5332c85 (diff) | |
download | haskell-ebf3787ae98afe6f4c3dd1c604cc8a48ebc9f768.tar.gz |
Adding a comment about the workaround of the parallel IO manager on Mac.
Diffstat (limited to 'libraries/base')
-rw-r--r-- | libraries/base/GHC/Event/Manager.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/base/GHC/Event/Manager.hs b/libraries/base/GHC/Event/Manager.hs index b764b6f53c..1dd9cc1fac 100644 --- a/libraries/base/GHC/Event/Manager.hs +++ b/libraries/base/GHC/Event/Manager.hs @@ -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) |