Re: Other Win32 TODO items?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Other Win32 TODO items?
Date: 2003-11-11 02:39:32
Message-ID: 200311110239.hAB2dWG01982@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Claudio Natoli wrote:
>
> Hi all,
>
> Following Andrew Dunstan's recent post, thought I'd mention a few other
> things which I think will need to be considered for the Win32 port. I've run
> into these in trying to get a single-process, multi-threaded version of
> postgres to run on Win32. Clearly, if core developers concur, I don't mind
> putting my hand up to provide patches for some or all of them... but I'll
> need advice from core for (at least) the last two.
>
> In rough order of annoyance:
>
> * ioctlsocket_ret
> - is not initialized to 1 (at least in the WIN_32 code I started
> with!)
> - ok, so big deal!
>
> * select(0,NULL,NULL,NULL,&delay) doesn't, under Win32
> - replace with Sleep for win32?

I have added this to the Win32 project page:

# Problems with select()

* Using as timer does't work, select(NULL, , timeout), use Sleep()?
* Only works on sockets, not file descriptors as returned by pipe()
* Must properly deal with signals

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2003-11-11 02:41:17 Re: Other Win32 TODO items?
Previous Message Andrew Dunstan 2003-11-11 02:18:23 Re: Committing Resources to Win32

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-11-11 03:53:09 Re: Other Win32 TODO items?
Previous Message Christopher Kings-Lynne 2003-11-11 02:02:10 Re: "make check" improvement for cygwin