mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
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
This commit is contained in:
parent
33ee2550d3
commit
f160bf06f7
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ ConditionVariableSleep(ConditionVariable *cv, uint32 wait_event_info)
|
|||
/*
|
||||
* Wait for a condition variable to be signaled or a timeout to be reached.
|
||||
*
|
||||
* The "timeout" is given in milliseconds.
|
||||
*
|
||||
* Returns true when timeout expires, otherwise returns false.
|
||||
*
|
||||
* See ConditionVariableSleep() for general usage.
|
||||
|
|
|
|||
Loading…
Reference in a new issue