ITAGAKI Takahiro wrote:

> The only thing I worried about is portability issue. POSIX functions
> like alarm() or setitimer() are not available at least on Windows.
> I expect alarm() is available on all platforms except Win32 and
> used CreateTimerQueue() instead on Win32 in the new patch.
> (We have own implementation of setitimer() in the server core, but pgbench
>  cannot use the function because it is a client application.)

It wouldn't be unheard of to allow using timer.c into client domain
(cf. src/port/)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to