Fix for win32 sleep

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgreSQL(dot)org>
Subject: Fix for win32 sleep
Date: 2004-01-30 15:58:44
Message-ID: 200401301558.i0UFwi223189@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

I have applied the following patch for the following reasons:

Remove sleep() and use single PG_SLEEP call for Win32 signal handling
and consistency.

Change PG_USLEEP to use SleepEx() for signal interuptability.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 1.4 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Eric Ridge 2004-01-30 16:11:47 Re: Question about indexes
Previous Message Edwin S. Ramirez 2004-01-30 15:43:06 Transaction aborts on syntax error.

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Jason Tishler 2004-01-30 16:47:05 Re: Additional items for Win32 TODO list?
Previous Message Claudio Natoli 2004-01-29 09:11:20 Proposed dirmod.c fix for Win32