Declare sig_exit as volatile
sig_exit may be changed by a signal handler, so its value should always be read from RAM.
parent
3fc148ae
Please register or sign in to comment
sig_exit may be changed by a signal handler, so its value should always be read from RAM.