On my platform (X86, Fedora, gcc 9.1.1) sig_atomic_t is typedef'd to a plain int.
In the C++ standard, sig_atomic_t is always used with the volatile qualifier.
I understand why volatile is needed, but why is it not part of the type then ?
Something like:
using sig_atomic_t = volatile int;