10 #ifdef PROFILE_AP_MUTEXES 22 #ifdef PROFILE_AP_MUTEXES 23 std::cout <<
"Inicializando autopointe mutex " << i <<
std:endl;
24 ap_mutex_accesses[i] = 0;
32 #ifdef PROFILE_AP_MUTEXES 33 std:cout <<
"Destruindo autopointer mutex " << i <<
std:endl;
34 printf(
"AutoPointer Mutex 0x%p accessed %lld times\n",
#define AP_MUTEX_ARRAY_SZ
Increment and Decrement actions are mutexed by this mutex.
AutoPointerMutexArrayInit tmp
pthread_mutex_t gAutoPointerMutexArray[AP_MUTEX_ARRAY_SZ]
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
~AutoPointerMutexArrayInit()
AutoPointerMutexArrayInit()