
Not sure if this is useful - I just found it on MSDN. It talks about porting
issues, including specifically signal handling techniques (it seems to
recommend using windows messaging instead of signals for some scenarios).. I
am not sure how easy it would be to abstract this away by providing a
signalling library that contained it all.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch09.asp

cheers


andrew

Bruce wrote:
> Merlin Moncure wrote:
>> Bruce,
>>
>> I assume then that the MinGW environment is missing signal emulation
>> that is present in the Microsoft C runtime distribution?  Microsoft's
>> is copyrighted, of course in winsig.c (it is actually quite small,
>> just a couple hundred lines of code).  Are you proposing to rewrite
>> that part of the CRT?  I checked the redistribution license and
>> winsig,etc.c are most certainly not suitable for incorporation into an
>> open source project.
>
> I actuallly don't even know the answer.  I don't know what is possible
> with MinGW vs Visual C.  I need help.
>
> I would have dug into it, but I got pretty far with MinGW, then had to
> stop to catch up on email, and still not caught up enough to return to
> MinGW.
>




Wed, 18 Jun 2003 09:42:04 -0500 (EST)
"Andrew Dunstan" <andrew@dunslane.net>
Re: information Windows - PostgreSQL
Bruce,

I assume then that the MinGW environment is missing signal emulation
that is present in the Microsoft C runtime distribution?  Microsoft's is
copyrighted, of course in winsig.c (it is actually quite small, just a
couple hundred lines of code).  Are you proposing to rewrite that part
of the CRT?  I checked the redistribution license and winsig,etc.c are
most certainly not suitable for incorporation into an open source
project.

Merlin


-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] 
Sent: Wednesday, June 18, 2003 12:54 PM
To: Merlin Moncure
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] information Windows - PostgreSQL


Peer Directs relied on Visual C C++ code to handle it, and it didn't
look pretty.  I am not sure how hard it is going to be to get that
working properly.



Wed, 18 Jun 2003 13:30:49 -0400
"Merlin Moncure" <merlin.moncure@rcsonline.com>
Re: information Windows - PostgreSQL
Merlin Moncure wrote:
> Bruce,
> 
> I assume then that the MinGW environment is missing signal emulation
> that is present in the Microsoft C runtime distribution?  Microsoft's is
> copyrighted, of course in winsig.c (it is actually quite small, just a
> couple hundred lines of code).  Are you proposing to rewrite that part
> of the CRT?  I checked the redistribution license and winsig,etc.c are
> most certainly not suitable for incorporation into an open source
> project.

I actuallly don't even know the answer.  I don't know what is possible
with MinGW vs Visual C.  I need help.

I would have dug into it, but I got pretty far with MinGW, then had to
stop to catch up on email, and still not caught up enough to return to
MinGW.

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

Wed, 18 Jun 2003 13:59:25 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: information Windows - PostgreSQL