Re: Win32 signals code, take two - Mailing list pgsql-hackers-win32

From Claudio Natoli
Subject Re: Win32 signals code, take two
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F27F@harris.memetrics.local
Whole thread Raw
In response to Win32 signals code, take two  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers-win32
Hi Magnus,

I've only had time for a very superficial look, but looks good...

> * The signal listener threads now creates separate threads to read/write
> on the pipe, to make sure we don't hang anywhere there. I put the
> ReadFile() in the separate thread as well (to be sure). It
> does not pose any different synchronisation issues than we had before.

Hmm, I'd be happier just seeing the main thread issue these calls, but no
firm argument as to why :-)


> Claudio, in your other working on the backend, have you by any chance
> identified good places to do:
> 1) pg_signal_initialize()?

I imagine we'll want to drop this main.c, right by the WSAStartup code.


> 2) PG_POLL_SIGNALS()?

Haven't had a chance to really try [sigh]. I promise to have a closer look,
at this and at your code, over the next couple days.

Talk soon,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Win32 signals code, take two
Next
From: "Merlin Moncure"
Date:
Subject: Re: Win32 signals code, take two