[commit: ghc] master: [skip ci] rts: Detabify Schedule.h (2dc21b9)

git at git.haskell.org git at git.haskell.org
Tue Oct 21 21:51:28 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2dc21b97ffd8e78a177e8b3562ab8f08a566defd/ghc

>---------------------------------------------------------------

commit 2dc21b97ffd8e78a177e8b3562ab8f08a566defd
Author: Austin Seipp <austin at well-typed.com>
Date:   Tue Oct 21 16:37:53 2014 -0500

    [skip ci] rts: Detabify Schedule.h
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

2dc21b97ffd8e78a177e8b3562ab8f08a566defd
 rts/Schedule.h | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/rts/Schedule.h b/rts/Schedule.h
index 015cc1c..d61be04 100644
--- a/rts/Schedule.h
+++ b/rts/Schedule.h
@@ -136,10 +136,10 @@ appendToRunQueue (Capability *cap, StgTSO *tso)
 {
     ASSERT(tso->_link == END_TSO_QUEUE);
     if (cap->run_queue_hd == END_TSO_QUEUE) {
-	cap->run_queue_hd = tso;
+        cap->run_queue_hd = tso;
         tso->block_info.prev = END_TSO_QUEUE;
     } else {
-	setTSOLink(cap, cap->run_queue_tl, tso);
+        setTSOLink(cap, cap->run_queue_tl, tso);
         setTSOPrev(cap, tso, cap->run_queue_tl);
     }
     cap->run_queue_tl = tso;
@@ -161,7 +161,7 @@ pushOnRunQueue (Capability *cap, StgTSO *tso)
     }
     cap->run_queue_hd = tso;
     if (cap->run_queue_tl == END_TSO_QUEUE) {
-	cap->run_queue_tl = tso;
+        cap->run_queue_tl = tso;
     }
 }
 
@@ -178,7 +178,7 @@ popRunQueue (Capability *cap)
     }
     t->_link = END_TSO_QUEUE; // no write barrier req'd
     if (cap->run_queue_hd == END_TSO_QUEUE) {
-	cap->run_queue_tl = END_TSO_QUEUE;
+        cap->run_queue_tl = END_TSO_QUEUE;
     }
     return t;
 }
@@ -200,9 +200,9 @@ appendToBlockedQueue(StgTSO *tso)
 {
     ASSERT(tso->_link == END_TSO_QUEUE);
     if (blocked_queue_hd == END_TSO_QUEUE) {
-	blocked_queue_hd = tso;
+        blocked_queue_hd = tso;
     } else {
-	setTSOLink(&MainCapability, blocked_queue_tl, tso);
+        setTSOLink(&MainCapability, blocked_queue_tl, tso);
     }
     blocked_queue_tl = tso;
 }
@@ -248,7 +248,7 @@ emptyThreadQueues(Capability *cap)
 {
     return emptyRunQueue(cap)
 #if !defined(THREADED_RTS)
-	&& EMPTY_BLOCKED_QUEUE() && EMPTY_SLEEPING_QUEUE()
+        && EMPTY_BLOCKED_QUEUE() && EMPTY_SLEEPING_QUEUE()
 #endif
     ;
 }
@@ -258,4 +258,3 @@ emptyThreadQueues(Capability *cap)
 #include "EndPrivate.h"
 
 #endif /* SCHEDULE_H */
-



More information about the ghc-commits mailing list