Magnus Hagander wrote:
> The backend signals code today uses pqsignal() instead of signal() at
> all places. But it uses kill() and sigsetmask() (through the macro
> PG_SETMASK) directly.
> I propose to change this to pqkill() and pqsigsetmask(). In pqsignal.h,
> these would be #define:d back to kill() and setsigmask() for the normal
> method, but would be functions on win32.
Sounds logical and more consistent than it is now.
While talking about it, I think our usage of signals is way overloaded
anyway. Any ideas how to replace it all with just one signal and a
regular message queue?
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
In response to
pgsql-hackers by date
|Next:||From: Jan Wieck||Date: 2004-01-22 14:20:58|
|Subject: Re: cache control?|
|Previous:||From: Thomas Hallgren||Date: 2004-01-22 12:55:53|
|Subject: Dynamic modules and standard naming practice|
pgsql-hackers-win32 by date
|Next:||From: Merlin Moncure||Date: 2004-01-22 14:59:51|
|Subject: What's left?|
|Previous:||From: Magnus Hagander||Date: 2004-01-22 09:54:10|
|Subject: Singnals code (not just win32 specific)|