summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-12-19 09:11:42 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-04 15:55:06 -0500
commit3c9dc06ba2034e867c9169e60e854539875654fd (patch)
treef06e599ca380ee9ad599918b2ae4c78cd4afce2b /includes
parentb2e0323f318959c879629ef277f6433b44473c4b (diff)
downloadhaskell-3c9dc06ba2034e867c9169e60e854539875654fd.tar.gz
Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/OSThreads.h2
-rw-r--r--includes/stg/SMP.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/rts/OSThreads.h b/includes/rts/OSThreads.h
index 322624e8ad..ada2a9a787 100644
--- a/includes/rts/OSThreads.h
+++ b/includes/rts/OSThreads.h
@@ -245,7 +245,7 @@ uint32_t getNumberOfProcessors (void);
// type from the OSThreadId.
//
// If the feature cannot be supported on an OS, it is OK to always return 0.
-// In particular it would almost certaily be meaningless on systems not using
+// In particular it would almost certainly be meaningless on systems not using
// a 1:1 threading model.
// We use a common serialisable representation on all OSs
diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h
index 60f084be9a..a3507bbe1c 100644
--- a/includes/stg/SMP.h
+++ b/includes/stg/SMP.h
@@ -154,7 +154,7 @@ EXTERN_INLINE void load_load_barrier(void);
* closure are visible *before* the write exposing the new closure is made visible:
*
* - Allocate memory for the closure
- * - Write the closure's info pointer and fields (ordering betweeen this doesn't
+ * - Write the closure's info pointer and fields (ordering between this doesn't
* matter since the closure isn't yet visible to anyone else).
* - Write barrier
* - Make closure visible to other cores