- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 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;
}
guest 02.03.2010 20:02 # 0