Re: Singnals code (not just win32 specific)
От | Jan Wieck |
---|---|
Тема | Re: Singnals code (not just win32 specific) |
Дата | |
Msg-id | 400FD16B.7050502@Yahoo.com обсуждение исходный текст |
Ответ на | Singnals code (not just win32 specific) ("Magnus Hagander" <mha@sollentuna.net>) |
Ответы |
Re: Singnals code (not just win32 specific)
|
Список | pgsql-hackers |
Magnus Hagander wrote: > Hello! > > 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? Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #
В списке pgsql-hackers по дате отправления: