[commit: ghc] master: rts: Fix a var name in a comment, fix a typo (0180230)

git at git.haskell.org git at git.haskell.org
Tue Jun 12 07:12:51 UTC 2018


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

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

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

commit 01802304463ee3b7314e9ecc53bcb2b1b5be305a
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Tue Jun 12 10:12:26 2018 +0300

    rts: Fix a var name in a comment, fix a typo


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

01802304463ee3b7314e9ecc53bcb2b1b5be305a
 rts/Schedule.c    | 2 +-
 rts/sm/MarkWeak.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rts/Schedule.c b/rts/Schedule.c
index 0ef1047..cf975b5 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -67,7 +67,7 @@
  * -------------------------------------------------------------------------- */
 
 #if !defined(THREADED_RTS)
-// Blocked/sleeping thrads
+// Blocked/sleeping threads
 StgTSO *blocked_queue_hd = NULL;
 StgTSO *blocked_queue_tl = NULL;
 StgTSO *sleeping_queue = NULL;    // perhaps replace with a hash table?
diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c
index 0153539..88037f6 100644
--- a/rts/sm/MarkWeak.c
+++ b/rts/sm/MarkWeak.c
@@ -344,7 +344,7 @@ static void tidyThreadList (generation *gen)
 
         if (tmp == NULL) {
             // not alive (yet): leave this thread on the
-            // old_all_threads list.
+            // old_threads list.
             prev = &(t->global_link);
         }
         else {



More information about the ghc-commits mailing list