Re: [pgsql-hackers-win32] win32 setitimer implementation

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: [pgsql-hackers-win32] win32 setitimer implementation
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F2FD@harris.memetrics.local
обсуждение исходный текст
Список pgsql-patches


> Here is a patch that implements setitimer() on win32. With this patch
> applied, deadlock detection and statement_timeout now works.
>
> The file timer.c goes into src/backend/port/win32/.

Minor comments:

* "timer.c" has shmem.c in header
* I'd suggest Asserts on the remaining 2 limitations ("zero" it_interval and
NULL ovalue), on the off chance that some future change to the source
expects them (ie. so we'll find out about it under win32 pretty quickly);
possibly provide defines of ITIMER_VIRT and ITIMER_PROF, for completeness.

Looks good,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Repost: Linking references in documentation
Следующее
От: Chris Campbell
Дата:
Сообщение: Crash when calling a pl/pgsql function with no row to pass as an argument