Should we standardize on a type for signal handler flags?

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Should we standardize on a type for signal handler flags?
Date: 2017-06-04 23:00:04
Message-ID: 20170604230004.sdu36ndm2e672hwl@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

Opinions?

- Andres

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-06-04 23:13:12 Re: Should we standardize on a type for signal handler flags?
Previous Message Noah Misch 2017-06-04 22:49:52 Re: Server ignores contents of SASLInitialResponse