On Mon, Jun 5, 2017 at 8:00 AM, Andres Freund <andres@anarazel.de> wrote:
> At the moment a number of flag variables set in signal handlers have
> 'volatile bool' as type, others have 'volatile sig_atomic_t'. That's
> kinda confusing. I think either is safe, but I think we should
> standardize one of them.
sig_atomic_t's definition includes a reference to signals, so I would
vote for using it instead of bool.
--
Michael