Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5b443c9

Browse files
michaelpqpull[bot]
authored andcommitted
Document units of "timeout" in ConditionVariableTimedSleep()
The timeout is passed down to WaitLatch() as milliseconds.Author: Shveta MalikDiscussion:https://postgr.es/m/CAJpy0uC=xiBQD1WapgYYvOiytap6ULJaakLd867zZXqu9tYc8w@mail.gmail.com
1 parent8545d19 commit5b443c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/storage/lmgr/condition_variable.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ ConditionVariableSleep(ConditionVariable *cv, uint32 wait_event_info)
102102
/*
103103
* Wait for a condition variable to be signaled or a timeout to be reached.
104104
*
105+
* The "timeout" is given in milliseconds.
106+
*
105107
* Returns true when timeout expires, otherwise returns false.
106108
*
107109
* See ConditionVariableSleep() for general usage.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp