aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2017-01-16 18:55:34 +0900
committerFujii Masao <fujii@postgresql.org>2017-01-16 18:55:34 +0900
commit8fa6019b405f9d39539a77c6f5f11fe640ddf955 (patch)
tree480c4e6001714514bf40d763fa0f99fecde366f8
parent0777f7a2e8e0a51f0f60cfe164d538bb459bf9f2 (diff)
downloadpostgresql-8fa6019b405f9d39539a77c6f5f11fe640ddf955.tar.gz
postgresql-8fa6019b405f9d39539a77c6f5f11fe640ddf955.zip
Fix typos in comments.
Masahiko Sawada
-rw-r--r--src/backend/storage/lmgr/condition_variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/condition_variable.c b/src/backend/storage/lmgr/condition_variable.c
index e2cfc58221c..67fe177a7dd 100644
--- a/src/backend/storage/lmgr/condition_variable.c
+++ b/src/backend/storage/lmgr/condition_variable.c
@@ -83,7 +83,7 @@ ConditionVariablePrepareToSleep(ConditionVariable *cv)
/*--------------------------------------------------------------------------
* Wait for the given condition variable to be signaled. This should be
- * called in a predicate loop that tests for a specfic exit condition and
+ * called in a predicate loop that tests for a specific exit condition and
* otherwise sleeps, like so:
*
* ConditionVariablePrepareToSleep(cv); [optional]
@@ -108,7 +108,7 @@ ConditionVariableSleep(ConditionVariable *cv, uint32 wait_event_info)
* return can be avoided by calling ConditionVariablePrepareToSleep(cv)
* first. Whether it's worth doing that depends on whether you expect the
* condition to be met initially, in which case skipping the prepare
- * allows you to skip manipulation of the wait list, or not met intiailly,
+ * allows you to skip manipulation of the wait list, or not met initially,
* in which case preparing first allows you to skip a spurious test of the
* caller's exit condition.
*/