summaryrefslogtreecommitdiff
path: root/rts/STM.c
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-04 10:49:51 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-05 15:27:05 +0200
commit577f3da7b81920c427c394871c86a523627e14e9 (patch)
tree955cceaab5020990725284b1aff2c26d5aab7191 /rts/STM.c
parentce9b6170b0ac9ff417000d8e7bdff7b2298f2978 (diff)
downloadhaskell-577f3da7b81920c427c394871c86a523627e14e9.tar.gz
Typos in comments [ci skip]
Diffstat (limited to 'rts/STM.c')
-rw-r--r--rts/STM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/STM.c b/rts/STM.c
index 0e09d7da19..f845b11161 100644
--- a/rts/STM.c
+++ b/rts/STM.c
@@ -1395,7 +1395,7 @@ StgBool stmCommitTransaction(Capability *cap, StgTRecHeader *trec) {
}
if (result) {
- // We now know that all of the read-only locations held their exepcted values
+ // We now know that all of the read-only locations held their expected values
// at the end of the call to validate_and_acquire_ownership. This forms the
// linearization point of the commit.
@@ -1472,7 +1472,7 @@ StgBool stmCommitNestedTransaction(Capability *cap, StgTRecHeader *trec) {
result = check_read_only(trec);
}
if (result) {
- // We now know that all of the read-only locations held their exepcted values
+ // We now know that all of the read-only locations held their expected values
// at the end of the call to validate_and_acquire_ownership. This forms the
// linearization point of the commit.