HomeClusterLabs Projects

Refactor: daemons,libcrmcommon: use volatile keyword correctly

Description

Refactor: daemons,libcrmcommon: use volatile keyword correctly

volatile was previously added where it wasn't needed, because signal handlers
added via mainloop_add_signal() are not true signal handlers and thus do not
need to be async-safe. By contrast, volatile previously wasn't used for the
blackbox writing functions, which can be called via true signal handlers.

Also document the various signal handling functions to hopefully make this more
clear in the future.

Details

Provenance
kgaillotAuthored on Apr 1 2019, 6:29 PM
Parents
rP0018e379a8bd: Feature: tools: make crm_report bug report URL configurable at build time
Branches
Unknown
Tags
Unknown

Event Timeline