[HACKERS] Should we standardize on a type for signal handler flags? - Mailing list pgsql-hackers

From Andres Freund
Subject [HACKERS] Should we standardize on a type for signal handler flags?
Date
Msg-id 20170604230004.sdu36ndm2e672hwl@alap3.anarazel.de
Whole thread Raw
Responses Re: [HACKERS] Should we standardize on a type for signal handler flags?  (Michael Paquier <michael.paquier@gmail.com>)
Re: [HACKERS] Should we standardize on a type for signal handler flags?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: [HACKERS] Server ignores contents of SASLInitialResponse
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Should we standardize on a type for signal handler flags?