6.13.1 sig_atomic_t Type
Integer type of an object that can be accessed as an atomic entity, even in the presence of asynchronous interrupts.
Attention: This type is not implemented by MPLAB
XC8.
Include
<signal.h>
Remarks
Objects of this type (a volatile signed char
for MPLAB XC8 for AVR MCUs
and an int
for other compilers that support signals) can be accessed
atomically by a signal handler.