Re: Allow signal handlers to optionally use SA_SIGINFO information?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Allow signal handlers to optionally use SA_SIGINFO information? |
| Дата | |
| Msg-id | 24699.1415631017@sss.pgh.pa.us обсуждение |
| Ответ на | Allow signal handlers to optionally use SA_SIGINFO information? (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Allow signal handlers to optionally use SA_SIGINFO
information?
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes: > Posix provides information about the source of the signal when using > SA_SIGINFO style handlers via si_code/si_pid. That information has been > available for a *long* while > (c.f. http://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html). That does not mean that it exists on all the platforms we support; Windows in particular is likely to be an issue. I concur with Heikki that you're probably solving this at the wrong end anyway, since the next question you'll be asking is *why* did process X send that signal. regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера