Feature #1184: Use std::atomic_int for CmiReference / CmiFree