Refactor atomic quit flag related variable and functions.
Refactor atomic quit flag related variable and functions.

t-mat/lz4mt,rgde/lz4mt,tempbottle/lz4mt,t-mat/lz4mt,t-mat/lz4mt,rgde/lz4mt,tempbottle/lz4mt