Skip to content

Commit 8fa6019

Browse files
committed
Fix typos in comments.
Masahiko Sawada
1 parent 0777f7a commit 8fa6019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/lmgr/condition_variable.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ConditionVariablePrepareToSleep(ConditionVariable *cv)
8383

8484
/*--------------------------------------------------------------------------
8585
* Wait for the given condition variable to be signaled. This should be
86-
* called in a predicate loop that tests for a specfic exit condition and
86+
* called in a predicate loop that tests for a specific exit condition and
8787
* otherwise sleeps, like so:
8888
*
8989
* ConditionVariablePrepareToSleep(cv); [optional]
@@ -108,7 +108,7 @@ ConditionVariableSleep(ConditionVariable *cv, uint32 wait_event_info)
108108
* return can be avoided by calling ConditionVariablePrepareToSleep(cv)
109109
* first. Whether it's worth doing that depends on whether you expect the
110110
* condition to be met initially, in which case skipping the prepare
111-
* allows you to skip manipulation of the wait list, or not met intiailly,
111+
* allows you to skip manipulation of the wait list, or not met initially,
112112
* in which case preparing first allows you to skip a spurious test of the
113113
* caller's exit condition.
114114
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy