Content-Length: 258525 | pFad | http://github.com/postgrespro/postgres/commit/f160bf06f72ab242a8336eff108a1f4e69539b77

EC Document units of "timeout" in ConditionVariableTimedSleep() · postgrespro/postgres@f160bf0 · GitHub
Skip to content

Commit f160bf0

Browse files
committed
Document units of "timeout" in ConditionVariableTimedSleep()
The timeout is passed down to WaitLatch() as milliseconds. Author: Shveta Malik Discussion: https://postgr.es/m/CAJpy0uC=xiBQD1WapgYYvOiytap6ULJaakLd867zZXqu9tYc8w@mail.gmail.com
1 parent 33ee255 commit f160bf0

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f160bf06f72ab242a8336eff108a1f4e69539b77

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy