[commit: ghc] master: rts: Fix typo in comment (b7f2d12)

git at git.haskell.org git at git.haskell.org
Tue Sep 19 21:55:42 UTC 2017


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

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

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

commit b7f2d1256949c016724577168106002c4b12169c
Author: Niklas Hambüchen <mail at nh2.me>
Date:   Tue Sep 19 15:12:11 2017 -0400

    rts: Fix typo in comment
    
    Reviewers: bgamari, austin, erikd, simonmar
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3958


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

b7f2d1256949c016724577168106002c4b12169c
 rts/Schedule.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/Schedule.h b/rts/Schedule.h
index 23a1a5b..49e094b 100644
--- a/rts/Schedule.h
+++ b/rts/Schedule.h
@@ -65,7 +65,7 @@ extern volatile StgWord sched_state;
  * The timer interrupt transitions ACTIVITY_YES into
  * ACTIVITY_MAYBE_NO, waits for RtsFlags.GcFlags.idleGCDelayTime,
  * and then:
- *   - if idle GC is no, set ACTIVITY_INACTIVE and wakeUpRts()
+ *   - if idle GC is on, set ACTIVITY_INACTIVE and wakeUpRts()
  *   - if idle GC is off, set ACTIVITY_DONE_GC and stopTimer()
  *
  * If the scheduler finds ACTIVITY_INACTIVE, then it sets



More information about the ghc-commits mailing list