Declare sig_exit as volatile
sig_exit may be changed by a signal handler, so its value should always be read from RAM.
Loading
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.