rts: Fix a var name in a comment, fix a typo
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Tue, 12 Jun 2018 07:12:26 +0000 (10:12 +0300)
committerÖmer Sinan Ağacan <omeragacan@gmail.com>
Tue, 12 Jun 2018 07:12:26 +0000 (10:12 +0300)
rts/Schedule.c
rts/sm/MarkWeak.c

index 0ef1047..cf975b5 100644 (file)
@@ -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?
index 0153539..88037f6 100644 (file)
@@ -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 {