rem: ~ATOMIC_INTEGER(void) { pthread_mutex_destroy(&mutex_rep); }
add: ATOMIC_INTEGER::~ATOMIC_INTEGER(void) { #ifdef USE_ASM_ATOMIC atomic_t* ptr = reinterpret_cast<atomic_t*>(value_repp); delete ptr; #else pthread_mutex_t* mutex = reinterpret_cast<pthread_mutex_t*>(mutex_repp); pthread_mutex_destroy(mutex); #endif }
context:   ~ATOMIC_INTEGER(void) {    pthread_mutex_destroy(&mutex_rep);  }