Add comment to specify timeout unit in ConditionVariableTimedSleep()

Поиск
Список
Период
Сортировка
От shveta malik
Тема Add comment to specify timeout unit in ConditionVariableTimedSleep()
Дата
Msg-id CAJpy0uC=xiBQD1WapgYYvOiytap6ULJaakLd867zZXqu9tYc8w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Add comment to specify timeout unit in ConditionVariableTimedSleep()  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi hackers,

ConditionVariableTimedSleep() accepts a timeout parameter, but it
doesn't explicitly state the unit for the timeout anywhere. To
determine this, one needs to look into the details of the function to
find it out from the comments of the internally called function
WaitLatch(). It would be beneficial to include a comment in the header
of ConditionVariableTimedSleep() specifying that the timeout is in
milliseconds, similar to what we have for other non-static functions
like WaitLatch and WaitEventSetWait. Attached the patch for the same.

thanks
Shveta

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: initdb's -c option behaves wrong way?
Следующее
От: Andy Fan
Дата:
Сообщение: Re: remaining sql/json patches