- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
bool HaW::Object::DestroyMutex()
{
if (0 != pthread_mutex_destroy(&pMutex))
if (0 == pthread_mutex_unlock(&pMutex))
if(0 == pthread_mutex_destroy(&pMutex))
return true;
else
return false;
else
return false;
}
Комментарии (1) RSS