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

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 (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-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

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

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