Skip site navigation (1) Skip section navigation (2)

win32 setitimer implementation

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>,<pgsql-hackers-win32(at)postgresql(dot)org>
Subject: win32 setitimer implementation
Date: 2004-02-12 20:22:43
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B1FC@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
Hello!

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/.

The patch also removes two lines of "printf debugging" accidentally left
in pqsignal.h, in the console control handler.


//Magnus
 <<win32_setitimer.patch>>  <<timer.c>> 

Attachment: timer.c
Description: application/octet-stream (1.7 KB)
Attachment: win32_setitimer.patch
Description: application/octet-stream (3.4 KB)

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-02-12 20:27:18
Subject: Re: temp patch for win32 readdir issue
Previous:From: Jan WieckDate: 2004-02-12 20:22:28
Subject: Re: [HACKERS] Vacuum Delay feature

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2004-02-12 20:30:46
Subject: Re: Updated win32 readdir patch
Previous:From: Magnus HaganderDate: 2004-02-12 19:25:35
Subject: win32 patch: Signal delivery when blocking on semaphore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group