diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2020-12-22 12:52:05 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-12-23 10:23:14 -0500 |
commit | cce1514ae7e8b3174bcd66f98247db3ad7928ebc (patch) | |
tree | 7815bdafe39205d656ada7e64d17a3a9ba574a16 | |
parent | f59c34b8e4322beca33e38bbb9a1df8acdf62011 (diff) | |
download | haskell-cce1514ae7e8b3174bcd66f98247db3ad7928ebc.tar.gz |
spelling: thead -> thread
-rw-r--r-- | rts/Trace.c | 2 | ||||
-rw-r--r-- | rts/sm/NonMovingMark.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/Trace.c b/rts/Trace.c index 2a229b5dc2..2f1e3f9c90 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -213,7 +213,7 @@ static void traceSchedEvent_stderr (Capability *cap, EventTypeNum tag, debugBelch("cap %d: thread %" FMT_Word "[\"%s\"]" " stopped (blocked on black hole owned by thread %lu)\n", cap->no, (W_)tso->id, threadLabel, (long)info2); } else if (info1 == StackOverflow) { - debugBelch("cap %d: thead %" FMT_Word "[\"%s\"]" + debugBelch("cap %d: thread %" FMT_Word "[\"%s\"]" " stopped (stack overflow, size %lu)\n", cap->no, (W_)tso->id, threadLabel, (long)info2); diff --git a/rts/sm/NonMovingMark.c b/rts/sm/NonMovingMark.c index 658d743ca1..cc815c89c7 100644 --- a/rts/sm/NonMovingMark.c +++ b/rts/sm/NonMovingMark.c @@ -190,8 +190,8 @@ StgIndStatic *debug_caf_list_snapshot = (StgIndStatic*)END_OF_CAF_LIST; * 4. The mark thread marks everything it was sent; runs out of things to mark * 5. Mark thread initiates a sync * 6. Capabilities send their final update remembered sets and suspend execution - * 7. Mark thread marks everything is was sent - * 8. Mark thead allows capabilities to resume. + * 7. Mark thread marks everything it was sent + * 8. Mark thread allows capabilities to resume. * * However, this is obviously a fair amount of complexity and so far the * periodic eager flushing approach has been sufficient. |