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
pull/159/head
Michael Paquier 2 years ago
parent 33ee2550d3
commit f160bf06f7
  1. 2
      src/backend/storage/lmgr/condition_variable.c

@ -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…
Cancel
Save