HomeClusterLabs Projects

Refactor: libcrmcommon,crm_mon: make crm_signal() return previous handler

Description

Refactor: libcrmcommon,crm_mon: make crm_signal() return previous handler

... so crm_mon can use it instead of signal(), which is considered non-portable
for this purpose.

While we're at it, improve crm_signal() log messages, and move crm_mon's
handling of HAVE_SIGHANDLER_T to mainloop.h where it can be of more use.

Details

Provenance
kgaillotAuthored on Apr 12 2019, 7:07 PM
Parents
rP4d5fe6bf5a86: Refactor: libpacemaker,scheduler: functionize logging transition summary
Branches
Unknown
Tags
Unknown

Event Timeline