[commit: ghc] ghc-lwc2: Removed tabs (4a46649)
Sivaramakrishnan Krishnamoorthy Chandrasekaran
t-sichan at microsoft.com
Sun May 12 02:28:21 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : ghc-lwc2
https://github.com/ghc/ghc/commit/4a46649954e04ede51032600be84a3abd991c0ed
>---------------------------------------------------------------
commit 4a46649954e04ede51032600be84a3abd991c0ed
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date: Sat May 11 20:28:06 2013 -0400
Removed tabs
>---------------------------------------------------------------
libraries/base/LwConc/Substrate.hs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libraries/base/LwConc/Substrate.hs b/libraries/base/LwConc/Substrate.hs
index 3058a3a..652833e 100644
--- a/libraries/base/LwConc/Substrate.hs
+++ b/libraries/base/LwConc/Substrate.hs
@@ -495,13 +495,13 @@ yieldControlActionRts sc = Exception.catch (atomically $ do
-- sets the SCont status to Yielded.
SContSwitched Yielded -> return ()
- -- This is a corner case, but is very well possible. Consider that the
- -- Scont (sc), was blocked on a foreign call, while its scheduler was
- -- resumed (See rts/Schedule.c:resumeThread). When sc wakes up it has to
- -- voluntarily give up control. But sc runs to completion and marks the
- -- thread it is switching to that is should give up the scheduler (See
- -- rts/PrimOps.cmm:stg_atomicSwitch). Now, the status of sc is set to
- -- "SContSwitched Completed". Hence, this branch.
+ -- This is a corner case, but is very well possible. Consider that the
+ -- Scont (sc), was blocked on a foreign call, while its scheduler was
+ -- resumed (See rts/Schedule.c:resumeThread). When sc wakes up it has to
+ -- voluntarily give up control. But sc runs to completion and marks the
+ -- thread it is switching to that is should give up the scheduler (See
+ -- rts/PrimOps.cmm:stg_atomicSwitch). Now, the status of sc is set to
+ -- "SContSwitched Completed". Hence, this branch.
otherwise -> return ()
switch <- getYieldControlActionSCont sc
More information about the ghc-commits
mailing list